package com.dragon.mmochat;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import com.dragon.mmochat.model.MmochatLockChatData;
import com.dragon.mmochat.model.enumType.MmochatBattleType;
import com.dragon.mmochat.model.enumType.MmochatPropType;
import com.dragon.mmochat.model.enumType.MmochatServerType;
import com.dragon.mmochat.model.enumType.MmochatTermType;
import com.dragon.mmochat.model.enumType.MmochatWorkStationType;

//未使用的图片
//BMP_MATERIAL_5
//BMP_MATERIAL_8:武魂石灵气丹
//BMP_MATERIAL_10:武魂
//BMP_MATERIAL_12:武魂技能石
//BMP_MATERIAL_14:武魂石灵气池
//BMP_MATERIAL_15
//BMP_MATERIAL_16
//BMP_MATERIAL_17:飞羽
//BMP_MATERIAL_18
//BMP_MATERIAL_25:武魂突破石

public class MmochatConstant {
	public static MmochatWorkStationType workStation = MmochatWorkStationType.现网环境;
	public static MmochatTermType termType = MmochatTermType.非KA版本;

	/************************* 模块号 **************************/
	private static final int clientModuleId = 0xe5c0; // 非KA版本终端模块号
	public static final int ka_clientModuleId = 0xe7f0;// KA版本终端模块号
	public static final int serverModuleId = 0x41e0;
	public static final int serverListModuleId = 0x41e1; // 服务器列表实例号

	public static int getClientModuleId() {
		if (termType == MmochatTermType.KA版本) {
			return ka_clientModuleId;
		} else {
			return clientModuleId;
		}
	}

	// 聊天服务端监听端口
	public static int chatServerPort = 6666;

	/************************* reason Id **************************/
	public static final int REASON_ID_兑换元宝 = 8510;
	// public static final int REASON_ID_兑换失败补偿K币 = 8511;

	/************************* 资源下载服务器模块号 **************************/
	public static final int dragon_downloadModInstance = 0xbb20;// 青龙测试环境
	public static final int test_downloadModInstance = 0xbb40;// 测试环境
	public static final int out_downloadModInstance = 0xbb40;// 现网环境

	/************************* 直付商户信息 **************************/
	public static final String test_merchantPasswd = "403095wxjwq"; // 商户密钥·测试环境
	public static final String test_merchantId = "10600";// 商户号·测试环境
	public static final String out_merchantPasswd = "fh^221(731"; // 商户密钥·现网环境
	public static final String out_merchantId = "10582";// 商户号·现网环境
	public static final int appId = 403095; // 应用编号
	public static final String appName = "仙剑问情"; // 应用名称
	public static final int appVer = 1; // 应用版本号
	public static final String productId = "1"; // 商品编号
	public static final String productName = "元宝"; // 商品名称
	public static int exchangeRate = 100; // 兑换比率，后台可更改
	public static int bankPayChangeRate = 150;// 汇款兑换比率

	// TODO
	public static int getExchangeRate() {
		int base = MmochatConstant.exchangeRate;
		return base;
	}

	public static final int businessId = 600; // 业务编号
	public static final String businessName = "SNS"; // 业务名称
	public static final int portalId = 200; // 入口编号
	public static final String portalName = "冒泡社区平台"; // 入口名称

	/************************* 常数 **************************/
	public static final long MS_PER_SECOND = 1000;
	public static final long MS_PER_MINUTE = 60000;
	public static final long MS_PER_HOUR = 3600000;
	public static final long MS_PER_DAY = 86400000;
	public static final long SECOND_PER_MIN = 60;
	public static final long SECOND_PER_HOUR = 3600;
	public static final long SECOND_PER_DAY = 86400;
	public static final long MIN_PER_HOUR = 60;
	public static final long MIN_PER_DAY = 1440;

	/************************* 终端统一参数 **************************/
	// 服务端调用本地接口
	public static final int callLocalFuncTlvTag = 0x15;
	public static final int showWinWithKeyEventTag = 0x16;
	public static final int createMsgboxWithBmpTag = 0x17;
	public static final int funcode_base = 0x10000;
	public static final int funcode_pkFunc = funcode_base + getClientModuleId()
			+ 1;
	public static final int funcode_worldPathFunc = funcode_base
			+ getClientModuleId() + 7;
	public static final int funcode_quitGameFunc = funcode_base
			+ getClientModuleId() + 8;
	public static final int funcode_addEquipToChatFunc = funcode_base
			+ getClientModuleId() + 9;
	public static final int funcode_saveEquipIdWhenChatFunc = funcode_base
			+ getClientModuleId() + 10;
	public static final int subcode_showManPanel = 0;
	public static final int subcode_showPetPanel = 1;

	// 按键值
	public static final int MR_KEY_0 = 0; // 按键 0
	public static final int MR_KEY_1 = 1; // 按键 1
	public static final int MR_KEY_2 = 2; // 按键 2
	public static final int MR_KEY_3 = 3; // 按键 3
	public static final int MR_KEY_4 = 4; // 按键 4
	public static final int MR_KEY_5 = 5; // 按键 5
	public static final int MR_KEY_6 = 6; // 按键 6
	public static final int MR_KEY_7 = 7; // 按键 7
	public static final int MR_KEY_8 = 8; // 按键 8
	public static final int MR_KEY_9 = 9; // 按键 9
	public static final int MR_KEY_STAR = 10; // 按键 *
	public static final int MR_KEY_POUND = 11; // 按键 #
	public static final int MR_KEY_UP = 12; // 按键 上
	public static final int MR_KEY_DOWN = 13; // 按键 下
	public static final int MR_KEY_LEFT = 14; // 按键 左
	public static final int MR_KEY_RIGHT = 15; // 按键 右
	public static final int MR_KEY_POWER = 16; // 按键 挂机键
	public static final int MR_KEY_SOFTLEFT = 17; // 按键 左软键
	public static final int MR_KEY_SOFTRIGHT = 18; // 按键 右软键
	public static final int MR_KEY_SEND = 19; // 按键 接听键
	public static final int MR_KEY_SELECT = 20; // 按键 确认/选择（若方向键中间有确认键，建议设为该键）
	public static final int MR_KEY_VOLUME_UP = 21; // 按键 侧键上
	public static final int MR_KEY_VOLUME_DOWN = 22; // 按键 侧键下

	// 地图
	public static final int mapId_西岐 = 0; // 西岐
	public static final int mapId_冀州 = 4; // 冀州
	public static final int mapId_朝歌 = 5; // 朝歌
	public static final int mapId_人教 = 42; // 人教地图
	public static final int mapId_截教 = 43; // 截教地图
	public static final int mapId_阐教 = 44; // 阐教地图
	public static final int mapId_北郊 = 10;
	public static final int mapId_东郊 = 1;
	public static final int mapId_西郊 = 23;
	public static final int mapId_地狱一层 = 54; // 与map.xml需要一致
	public static final int mapId_地狱二层 = 55;
	public static final int mapId_地狱三层 = 56;
	public static final int mapId_地狱四层 = 57;
	public static final int mapId_地狱五层 = 58;
	public static final int mapId_地狱六层 = 59;
	public static final int mapId_地狱七层 = 60;
	public static final int mapId_地狱八层 = 61;
	public static final int mapId_地狱九层 = 62;
	public static final int mapId_地狱十层 = 63;

	// 地图文件ID
	public static final int mapDataId_武道会 = 56; // 武道会地图文件ID
	public static final int mapDataId_跨服武道会 = 55;
	public static final int mapDataId_个人赛 = 56;
	public static final int mapDataId_gang = 54; // 帮派地图文件ID
	public static final int mapDataId_gangRoomA = 24; // 帮派房间A文件ID
	public static final int mapDataId_gangRoomB = 25; // 帮派房间B文件ID
	public static final int mapDataId_gangFixedBattle = 56; // 帮派大乱斗地图文件ID
	public static final int mapDataId_比武场 = 56; // 擂台地图文件ID
	public static final int mapDataId_地府 = 57; // 地府地图文件ID
	public static final int mapDataId_锁妖塔 = 51; // 通天塔地图文件ID

	// 固定的临时地图ID
	public static final int mapId_30级武道会 = 1000;// 武道会地图
	public static final int mapId_40级武道会 = 1001;
	public static final int mapId_50级武道会 = 1002;
	public static final int mapId_60级武道会 = 1003;
	public static final int mapId_70级武道会 = 1004;
	public static final int mapId_80级武道会 = 1005;
	public static final int mapId_90级武道会 = 1006;
	public static final int mapId_100级武道会 = 1007;
	public static final int mapId_110级武道会 = 1008;
	public static final int mapId_120级武道会 = 1009;
	public static final int mapId_MAX等级武道会 = 1010;
	public static final int mapId_gangMixedBattle = 1011;// 帮派大乱斗地图
	public static final int mapId_比武场 = 1012;// 比武场地图
	public static final int mapId_地府 = 1013; // 地府地图
	public static final int mapId_跨服擂台 = 1014; // 跨服擂台

	public static final int mapId_30级个人赛 = 1020;// 个人争霸赛地图
	public static final int mapId_40级个人赛 = 1021;
	public static final int mapId_50级个人赛 = 1022;
	public static final int mapId_60级个人赛 = 1023;
	public static final int mapId_70级个人赛 = 1024;
	public static final int mapId_80级个人赛 = 1025;
	public static final int mapId_90级个人赛 = 1026;
	public static final int mapId_100级个人赛 = 1027;
	public static final int mapId_110级个人赛 = 1028;
	public static final int mapId_120级个人赛 = 1029;
	public static final int mapId_MAX等级个人赛 = 1030;

	public static final int mapId_天下第一赛场 = 1040;// 天下第一争霸赛地图

	// 通天塔地图:1100~1380
	public static final int mapId_锁妖塔20级 = 1100;

	// 跨服武道地图
	public static final int mapId_30级跨服武道会 = 2000;
	public static final int mapId_40级跨服武道会 = 2001;
	public static final int mapId_50级跨服武道会 = 2002;
	public static final int mapId_60级跨服武道会 = 2003;
	public static final int mapId_70级跨服武道会 = 2004;
	public static final int mapId_80级跨服武道会 = 2005;
	public static final int mapId_90级跨服武道会 = 2006;
	public static final int mapId_100级跨服武道会 = 2007;
	public static final int mapId_110级跨服武道会 = 2008;
	public static final int mapId_120级跨服武道会 = 2009;
	public static final int mapId_MAX等级跨服武道会 = 2010;

	/*----帮派地图：10亿以上----*/
	public static final int mapId_gangBase = 1000000000; // 10亿,帮派地图ID=mapId_gangBase+帮派ID
	public static final int mapId_gangRoomABase = 1010000000; // 10.1亿,帮派房间A的地图ID=mapId_gangRoomABase+帮派ID
	public static final int mapId_gangRoomBBase = 1020000000; // 10.2亿,帮派房间B的地图ID=mapId_gangRoomBBase+帮派ID

	// 固定的临时NPC的ID
	public static final int npcId_tempNpcBase = 100000000;// 1亿
	public static final int npcId_wuDaoPkNpc1Base = npcId_tempNpcBase; // 武道会传送人
	public static final int npcId_gangMixedPkNpc1 = npcId_tempNpcBase + 100; // 帮派大乱斗传送人
	public static final int npcId_pkMapNpc1 = npcId_tempNpcBase + 101; // 比武场传送人
	public static final int npcId_diFuNpc1 = npcId_tempNpcBase + 102; // 地府传送人
	public static final int npcId_multiPkMapNpc1 = npcId_tempNpcBase + 103;// 跨服比武场传送人
	public static final int npcId_MultiWuDaoPkTeamANpc1Base = npcId_tempNpcBase + 200; // A组跨服武道会传送人
	public static final int npcId_MultiWuDaoPkTeamBNpc1Base = npcId_tempNpcBase + 300; // A组跨服武道会传送人

	// mapId层通天塔NPCID基数=npcId_towerNpcBase + (mapId - mapId_锁妖塔20级) *
	// npcNumInTower;
	// mapId层通天塔NPCID范围：NPCID基数~NPCID基数+npcNumInTower
	public static final int npcId_towerNpcBase = npcId_tempNpcBase + 1000; // +1000至+1280
	// 锁妖塔传送NPC
	public static final int npcId_towerTransNpcBase = npcId_tempNpcBase + 2000; // +2000至+2280

	public static final int npcId_gangNpc1Base = 1000000000; // 10亿,帮派传送人NPC_ID=npcId_gangNpc1Base+帮派ID
	public static final int npcId_gangNpc2Base = 1010000000; // 10.1亿,帮派总管NPC_ID=npcId_gangNpc2Base+帮派ID
	public static final int npcId_gangNpc3Base = 1020000000; // 10.2亿,帮派军师NPC_ID=npcId_gangNpc3Base+帮派ID

	// 配置文件中帮派总管的NPCID值
	public static final int npcId_gangNpc2_inFile = -1;

	// 图片:如果图片存入了数据库，则不应该更改图片值,新增加图片应该后面追加
	public static final int BMP_BOYTAG = getClientModuleId();
	public static final int BMP_GIRLTAG = BMP_BOYTAG + 1;
	public static final int BMP_LIST_玉佩 = BMP_GIRLTAG + 1;
	public static final int BMP_LIST_蓝药 = BMP_LIST_玉佩 + 1;
	public static final int BMP_LIST_血药 = BMP_LIST_蓝药 + 1;
	public static final int BMP_LIST_挂坠 = BMP_LIST_血药 + 1;
	public static final int BMP_LIST_手镯 = BMP_LIST_挂坠 + 1;
	public static final int BMP_LIST_头盔 = BMP_LIST_手镯 + 1;
	public static final int BMP_LIST_武器 = BMP_LIST_头盔 + 1;
	public static final int BMP_LIST_鞋子 = BMP_LIST_武器 + 1;
	public static final int BMP_LIST_衣服 = BMP_LIST_鞋子 + 1;
	public static final int BMP_CHAT_SPEAKERTAG = BMP_LIST_衣服 + 1; // 频道标志
	public static final int BMP_CHAT_WORLDTAG = BMP_CHAT_SPEAKERTAG + 1;
	public static final int BMP_CHAT_SYSTEMTAG = BMP_CHAT_WORLDTAG + 1;
	public static final int BMP_CHAT_GANGTAG = BMP_CHAT_SYSTEMTAG + 1;
	public static final int BMP_CHAT_CURTAG = BMP_CHAT_GANGTAG + 1;
	public static final int BMP_CHAT_TEAMTAG = BMP_CHAT_CURTAG + 1;
	public static final int BMP_CHAT_WHITETAG = BMP_CHAT_TEAMTAG + 1;
	public static final int BMP_PROP_1 = BMP_CHAT_WHITETAG + 1; // 道具
	public static final int BMP_PROP_2 = BMP_PROP_1 + 1;
	public static final int BMP_PROP_3 = BMP_PROP_2 + 1;
	public static final int BMP_PROP_4 = BMP_PROP_3 + 1;
	public static final int BMP_PROP_5 = BMP_PROP_4 + 1;
	public static final int BMP_PROP_6 = BMP_PROP_5 + 1;
	public static final int BMP_PROP_7 = BMP_PROP_6 + 1;
	public static final int BMP_PROP_8 = BMP_PROP_7 + 1;
	public static final int BMP_PROP_9 = BMP_PROP_8 + 1;
	public static final int BMP_PROP_10 = BMP_PROP_9 + 1;
	public static final int BMP_PROP_11 = BMP_PROP_10 + 1;
	public static final int BMP_PROP_12 = BMP_PROP_11 + 1;
	public static final int BMP_PROP_13 = BMP_PROP_12 + 1;
	public static final int BMP_PROP_14 = BMP_PROP_13 + 1;
	public static final int BMP_PROP_15 = BMP_PROP_14 + 1;
	public static final int BMP_PROP_16 = BMP_PROP_15 + 1;
	public static final int BMP_PROP_17 = BMP_PROP_16 + 1;
	public static final int BMP_PROP_18 = BMP_PROP_17 + 1;
	public static final int BMP_PROP_19 = BMP_PROP_18 + 1;
	public static final int BMP_PROP_20 = BMP_PROP_19 + 1;
	public static final int BMP_PROP_21 = BMP_PROP_20 + 1;
	public static final int BMP_PROP_22 = BMP_PROP_21 + 1;
	public static final int BMP_PROP_23 = BMP_PROP_22 + 1;
	public static final int BMP_PROP_24 = BMP_PROP_23 + 1;
	public static final int BMP_PROP_25 = BMP_PROP_24 + 1;
	public static final int BMP_PROP_26 = BMP_PROP_25 + 1;
	public static final int BMP_PROP_27 = BMP_PROP_26 + 1;
	public static final int BMP_PROP_28 = BMP_PROP_27 + 1;
	public static final int BMP_PROP_29 = BMP_PROP_28 + 1;
	public static final int BMP_PROP_30 = BMP_PROP_29 + 1;
	public static final int BMP_PROP_31 = BMP_PROP_30 + 1;
	public static final int BMP_PROP_32 = BMP_PROP_31 + 1;
	public static final int BMP_PROP_33 = BMP_PROP_32 + 1;
	public static final int BMP_PROP_34 = BMP_PROP_33 + 1;
	public static final int BMP_PROP_35 = BMP_PROP_34 + 1;
	public static final int BMP_PROP_36 = BMP_PROP_35 + 1;
	public static final int BMP_PROP_37 = BMP_PROP_36 + 1;
	public static final int BMP_PROP_38 = BMP_PROP_37 + 1;
	public static final int BMP_PROP_39 = BMP_PROP_38 + 1;
	public static final int BMP_PROP_40 = BMP_PROP_39 + 1;
	public static final int BMP_PROP_41 = BMP_PROP_40 + 1;
	public static final int BMP_PROP_42 = BMP_PROP_41 + 1;
	public static final int BMP_PROP_43 = BMP_PROP_42 + 1;
	public static final int BMP_PROP_44 = BMP_PROP_43 + 1;
	public static final int BMP_PROP_45 = BMP_PROP_44 + 1;
	public static final int BMP_PROP_46 = BMP_PROP_45 + 1;
	public static final int BMP_PROP_47 = BMP_PROP_46 + 1;
	public static final int BMP_PROP_48 = BMP_PROP_47 + 1;
	public static final int BMP_PROP_49 = BMP_PROP_48 + 1;
	public static final int BMP_PROP_50 = BMP_PROP_49 + 1;
	public static final int BMP_PROP_51 = BMP_PROP_50 + 1;
	public static final int BMP_PROP_52 = BMP_PROP_51 + 1;
	public static final int BMP_PROP_53 = BMP_PROP_52 + 1;
	public static final int BMP_PROP_54 = BMP_PROP_53 + 1;
	public static final int BMP_PROP_55 = BMP_PROP_54 + 1;
	public static final int BMP_PROP_56 = BMP_PROP_55 + 1;
	public static final int BMP_PROP_57 = BMP_PROP_56 + 1;
	public static final int BMP_PROP_58 = BMP_PROP_57 + 1;
	public static final int BMP_PROP_59 = BMP_PROP_58 + 1;
	public static final int BMP_PROP_60 = BMP_PROP_59 + 1;
	public static final int BMP_PROP_61 = BMP_PROP_60 + 1;
	public static final int BMP_PROP_62 = BMP_PROP_61 + 1;
	public static final int BMP_PROP_63 = BMP_PROP_62 + 1;
	public static final int BMP_PROP_64 = BMP_PROP_63 + 1;
	public static final int BMP_PROP_65 = BMP_PROP_64 + 1;
	public static final int BMP_PROP_66 = BMP_PROP_65 + 1;
	public static final int BMP_PROP_67 = BMP_PROP_66 + 1;
	public static final int BMP_PROP_68 = BMP_PROP_67 + 1;
	public static final int BMP_PROP_69 = BMP_PROP_68 + 1;
	public static final int BMP_PROP_70 = BMP_PROP_69 + 1;
	public static final int BMP_EMOTION_1 = BMP_PROP_70 + 1; // 聊天表情
	public static final int BMP_EMOTION_2 = BMP_EMOTION_1 + 1;
	public static final int BMP_EMOTION_3 = BMP_EMOTION_2 + 1;
	public static final int BMP_EMOTION_4 = BMP_EMOTION_3 + 1;
	public static final int BMP_EMOTION_5 = BMP_EMOTION_4 + 1;
	public static final int BMP_EMOTION_6 = BMP_EMOTION_5 + 1;
	public static final int BMP_EMOTION_7 = BMP_EMOTION_6 + 1;
	public static final int BMP_EMOTION_8 = BMP_EMOTION_7 + 1;
	public static final int BMP_EMOTION_9 = BMP_EMOTION_8 + 1;
	public static final int BMP_EMOTION_10 = BMP_EMOTION_9 + 1;
	public static final int BMP_EMOTION_11 = BMP_EMOTION_10 + 1;
	public static final int BMP_EMOTION_12 = BMP_EMOTION_11 + 1;
	public static final int BMP_EMOTION_13 = BMP_EMOTION_12 + 1;
	public static final int BMP_EMOTION_14 = BMP_EMOTION_13 + 1;
	public static final int BMP_EMOTION_15 = BMP_EMOTION_14 + 1;
	public static final int BMP_EMOTION_16 = BMP_EMOTION_15 + 1;
	public static final int BMP_EMOTION_17 = BMP_EMOTION_16 + 1;
	public static final int BMP_EMOTION_18 = BMP_EMOTION_17 + 1;
	public static final int BMP_EMOTION_19 = BMP_EMOTION_18 + 1;
	public static final int BMP_EMOTION_20 = BMP_EMOTION_19 + 1;
	public static final int BMP_EMOTION_21 = BMP_EMOTION_20 + 1;
	public static final int BMP_EMOTION_22 = BMP_EMOTION_21 + 1;
	public static final int BMP_EMOTION_23 = BMP_EMOTION_22 + 1;
	public static final int BMP_EMOTION_24 = BMP_EMOTION_23 + 1;
	public static final int BMP_EMOTION_25 = BMP_EMOTION_24 + 1;
	public static final int BMP_EMOTION_26 = BMP_EMOTION_25 + 1;
	public static final int BMP_EMOTION_27 = BMP_EMOTION_26 + 1;
	public static final int BMP_EMOTION_28 = BMP_EMOTION_27 + 1;
	public static final int BMP_EMOTION_29 = BMP_EMOTION_28 + 1;
	public static final int BMP_EMOTION_30 = BMP_EMOTION_29 + 1;
	public static final int BMP_EMOTION_31 = BMP_EMOTION_30 + 1;
	public static final int BMP_EMOTION_32 = BMP_EMOTION_31 + 1;
	public static final int BMP_EMOTION_33 = BMP_EMOTION_32 + 1;
	public static final int BMP_EMOTION_34 = BMP_EMOTION_33 + 1;
	public static final int BMP_EMOTION_35 = BMP_EMOTION_34 + 1;
	public static final int BMP_EMOTION_36 = BMP_EMOTION_35 + 1;
	public static final int BMP_EMOTION_37 = BMP_EMOTION_36 + 1;
	public static final int BMP_EMOTION_MAX = BMP_EMOTION_37 + 1;
	// 药品
	public static final int BMP_DRUG_1 = BMP_EMOTION_MAX + 1;
	public static final int BMP_DRUG_2 = BMP_DRUG_1 + 1;
	public static final int BMP_DRUG_3 = BMP_DRUG_2 + 1;
	public static final int BMP_DRUG_4 = BMP_DRUG_3 + 1;
	public static final int BMP_DRUG_5 = BMP_DRUG_4 + 1;
	public static final int BMP_DRUG_6 = BMP_DRUG_5 + 1;
	public static final int BMP_DRUG_7 = BMP_DRUG_6 + 1;
	public static final int BMP_DRUG_8 = BMP_DRUG_7 + 1;
	public static final int BMP_DRUG_9 = BMP_DRUG_8 + 1;
	public static final int BMP_DRUG_10 = BMP_DRUG_9 + 1;
	public static final int BMP_DRUG_11 = BMP_DRUG_10 + 1;
	public static final int BMP_DRUG_12 = BMP_DRUG_11 + 1;
	public static final int BMP_DRUG_13 = BMP_DRUG_12 + 1;
	// 材料
	public static final int BMP_MATERIAL_1 = BMP_DRUG_13 + 1;
	public static final int BMP_MATERIAL_2 = BMP_MATERIAL_1 + 1;
	public static final int BMP_MATERIAL_3 = BMP_MATERIAL_2 + 1;
	public static final int BMP_MATERIAL_4 = BMP_MATERIAL_3 + 1;
	public static final int BMP_MATERIAL_5 = BMP_MATERIAL_4 + 1;
	public static final int BMP_MATERIAL_6 = BMP_MATERIAL_5 + 1;
	public static final int BMP_MATERIAL_7 = BMP_MATERIAL_6 + 1;
	public static final int BMP_MATERIAL_8 = BMP_MATERIAL_7 + 1;
	public static final int BMP_MATERIAL_9 = BMP_MATERIAL_8 + 1;
	public static final int BMP_MATERIAL_10 = BMP_MATERIAL_9 + 1;
	public static final int BMP_MATERIAL_11 = BMP_MATERIAL_10 + 1;
	public static final int BMP_MATERIAL_12 = BMP_MATERIAL_11 + 1;
	public static final int BMP_MATERIAL_13 = BMP_MATERIAL_12 + 1;
	public static final int BMP_MATERIAL_14 = BMP_MATERIAL_13 + 1;
	public static final int BMP_MATERIAL_15 = BMP_MATERIAL_14 + 1;
	public static final int BMP_MATERIAL_16 = BMP_MATERIAL_15 + 1;
	public static final int BMP_MATERIAL_17 = BMP_MATERIAL_16 + 1;
	public static final int BMP_MATERIAL_18 = BMP_MATERIAL_17 + 1;
	public static final int BMP_MATERIAL_19 = BMP_MATERIAL_18 + 1;
	public static final int BMP_MATERIAL_20 = BMP_MATERIAL_19 + 1;
	public static final int BMP_MATERIAL_21 = BMP_MATERIAL_20 + 1;
	public static final int BMP_MATERIAL_22 = BMP_MATERIAL_21 + 1;
	public static final int BMP_MATERIAL_23 = BMP_MATERIAL_22 + 1;
	public static final int BMP_MATERIAL_24 = BMP_MATERIAL_23 + 1;
	public static final int BMP_MATERIAL_25 = BMP_MATERIAL_24 + 1;
	public static final int BMP_MATERIAL_26 = BMP_MATERIAL_25 + 1;
	public static final int BMP_MATERIAL_27 = BMP_MATERIAL_26 + 1;
	public static final int BMP_MATERIAL_28 = BMP_MATERIAL_27 + 1;
	public static final int BMP_MATERIAL_29 = BMP_MATERIAL_28 + 1;
	public static final int BMP_MATERIAL_30 = BMP_MATERIAL_29 + 1;
	public static final int BMP_MATERIAL_31 = BMP_MATERIAL_30 + 1;
	public static final int BMP_MATERIAL_32 = BMP_MATERIAL_31 + 1;
	public static final int BMP_MATERIAL_33 = BMP_MATERIAL_32 + 1;
	public static final int BMP_MATERIAL_34 = BMP_MATERIAL_33 + 1;

	public static final int BMP_TEAMTAG = getClientModuleId() + 401;

	/************************* 后台参数 **************************/
	// 一个服务最多容纳的角色数
	public static int maxRolePerServer = 1200;

	// 列表服务器判断区服火热程序的人数上限
	public static int maxRolePerServerForHotTag = 900;

	// 每条线最多容纳普通玩家数
	public static int maxNormalRoleNumPerLine = 800;

	// 每条线最多容纳玩家数(包括会员)
	public static int maxRoleNumPerMapLine = 1200;

	// 藏宝图一次放出几只鬼
	public static int ghostNumPerTreasureMap = 12;

	// 装备改造价格
	public static int modifyEquipPrice = 3000;

	// TODO
	public static int getModifyEquipPrice() {
		int base = MmochatConstant.modifyEquipPrice;
		return base;
	}

	// 武魂技能石鉴定价格
	public static int checkPkStonePrice = 9000;

	// 武魂技能分离价格
	public static int seperatePkStonePrice = 9000;

	// 创建帮派所需游戏币
	public static int moneyForCreatGang = 2000000;

	// 一次充值多少元宝可以获得1次抽奖机会(后台可修改)
	public static int payValuePerAward = 2250;

	// 赌场中系统概率统计上每场赢取的百分比(0-100)
	public static int systemWinPercentInBet = 10;

	// 商城促销活动是否开启(如果开启，则活动时间为12:00-24:00)
	// 在MmochatScheduleJobService.loadActivity下每天3点重置成false
	public static boolean isShopDiscountActivityOpen = false;

	// TODO
	public static boolean isShopDiscountActivityOpen() {
		return isShopDiscountActivityOpen;
	}

	public static MmochatPropType discountPropType = null; // 商城促销道具类型

	// TODO
	public static MmochatPropType getDiscountPropType() {
		return discountPropType;
	}

	// 元宝交易是否开启
	public static boolean isYBDealOpen = true;

	// 卡密充值是否开启
	public static boolean isDirectPayOpen = true;

	// 邮政汇款是否开启
	public static boolean isOwnBankPayOpen = false;

	// K币兑换是否开启
	public static boolean isKBPayOpen = true;

	// 玩家商会是否开启
	public static boolean isPlayerShopOpen = true;

	// 二手商店转让是否开启
	public static boolean isShopCanSell = false;

	// 是否开启配置控制文件的下载功能，开启后，下载的时间范围:晚上10:00-早上6点
	public static boolean isTermCtrlDownloadOpen = false;

	// 创建商店需要多少钱
	public static int moneyForCreatShop = 100000;

	// 商店每个柜台每日消耗多少钱
	public static int dailyMoneyCostPerShopPage = 500;

	// 增加一个商店柜台需要多少钱
	public static int moneyForAddShopPage = 50000;

	// 世界聊天发言最短间隔
	public static long minIntervalOfWorldChat = 12000;

	// 私聊发言最短间隔
	public static long minIntervalOfPrivateChat = 800;

	// 聊天黑名单:roleId-->解禁的时间点
	public static Map<Integer, MmochatLockChatData> forbiddenRoleIdToChat = new ConcurrentHashMap<Integer, MmochatLockChatData>();

	// 赌场至少保留多少金钱才允许参加
	public static int minSmallMoneyRestToPlayBet = 10000;

	// 赌场至少保留多少元宝才允许参加
	public static int minBigMoneyRestToPlayBet = 100;

	// 赌场压注上限
	public static int maxBigMoneyToPlayBet = 1000;

	// 赌场压注上限
	public static int maxSmallMoneyToPlayBet = 3000000;

	// 赌场最低等级限制
	public static int minLevelNeedToPlayerBet = 20;

	// 一场最多压注人数
	public static int maxPlayerNumToPlayerBet = 100;

	// 禁止游戏的IMEI列表
	public static Map<String, Integer> forbiddinImeiList = new ConcurrentHashMap<String, Integer>();

	// 挑战地图守护神一次需要多少战绩
	public static int zhanjiCostPerMapGuiderPk = 100;

	// 挑战地图守护神失败时奖励的道行天数
	public static int daoAwardOfLoseMapGuiderPk = 400;

	// 挑战地图守护神成功时奖励的道行天数
	public static int daoAwardOfWinMapGuiderPk = 1200;

	// 地图守护神每场守护成功的道行奖励
	public static int daoAwardOfMapGuiderPerPk = 100;

	// 地图守护神每场守护成功的道行奖励上限
	public static int maxDaoAwardOfMapGuiderPk = 1000;

	// 远程交易的最短时间间隔
	public static long minIntervalOfRemoteDeal = 30 * MS_PER_SECOND;

	// 强制PK需要交纳的金钱
	public static int moneyCostToKillPerson = 50000;

	// 玩家离线消息最多保留多少时间
	public static long offlineMsgLife = MS_PER_DAY * 3;

	// 每个玩家最多允许有几个人的离线留言
	public static int maxOfflineMsgNum = 20;

	// 999回合自动战斗价格(元宝)
	public static int priceOf999Auto = 108;

	// 玩家发言条数上限
	public static int worldChatBufferSize = 10;

	// 系统每隔多久加1条发言次数
	public static int intervalToAddWorldChat = 60000;

	// 物攻伤害加成
	public static double physicalAttackParam = 1.3;

	// 刷道地图一个怪给几天道
	public static int daoAwardPerMonsterInDiFu = 5;

	// 当月首次卡密充值送属性活动是否开启
	public static boolean isFirstPayThisMonthActivityOpen = true;

	// 当月首次充值的全属增加值
	public static int attrValueForFirstPayThisMonth = 5;

	// 当月首次充值的全天赋加值
	public static int giftValueForFirstPayThisMonth = 1;

	// 跨服战一场胜利威望奖励
	public static int honorAwardForMultiWuDaoWinPerPk = 100;

	// 跨服战一场失败威望奖励
	public static int honorAwardForMultiWuDaoLosePerPk = 30;

	// 跨服战获胜者获得的威望奖励值
	public static int honorAwardForMultiWuDaoWinner = 5000;

	// 1点威望可以兑换几倍打怪经验
	public static double expParamPerHonor = 3; // 100点相当于2层锁妖塔

	// 1点威望可以兑换几天道行
	public static double daoParamPerHonor = 20; // 100点相当于2层锁妖塔

	// 几点威望可以换1个金钱袋
	public static int honorNumPerMoneyProp = 100;

	// 几点威望可以抽一次奖
	public static int honorNumPerRandAward = 200;

	// 几点威望可以换1个神兽
	public static int honorNumPerPet = 180000;

	// 几点威望可以换1个8级浮云
	public static int honorNumPerFly = 100000;

	// 威望竞猜要扣金钱的参数
	public static int moneyParamForHonorGame = 10;

	// 是否检测并禁止多手机同时登陆一个账号
	public static boolean isCheckMultiPhoneLogin = true;

	// 更换帮派任务需要多少钱
	public static int moneyNeedToChangeGangTask = 250;

	// 是否允许创建副本
	public static boolean isCreateFuBenAllowed = true;

	// 进入三仙岛副本需要多少钱
	public static int moneyNeedForSanXianDaoFuBen = 10000;

	// 普通三仙岛副本道行奖励
	public static int daoAwardForSanXianDaoFuBen = 9000;

	// 高级三仙岛副本经验奖励倍数
	public static int expAwardForSanXianDaoFuBen = 300;

	// 普通三仙岛副本帮贡奖励
	public static int gangAwardForSanXianDaoFuBen = 200;

	// 在线领奖间隔
	public static long intervalOfOnlineAward = 30 * MS_PER_MINUTE;

	// 在线领奖最多累积几次
	public static int maxTimeOfOnlineAward = 6;

	// 在线领奖活动是否开启
	public static boolean isOnlineAwardOpen = true;

	public static boolean IsOnlineAwardOpen() {
		return isOnlineAwardOpen;
	}

	// 几点强化灵气值提升1%数值
	public static final int petExtraValuePerEffect = 10;

	// 当前宠物强化灵气值上限:后期可以调高
	public static final int maxPetExtraValue = 1200;

	// 当前宠物速度强化灵气值上限:后期可以调高
	public static final int maxPetSpeedExtraValue = 500;

	// 战场积分在线累积的上限值
	public static int onlinePkScoreLimit = 800;

	// 进入战场的最低积分要求
	public static int pkScoreNeedToEnter = 500;

	// 战场积分最低多少才能进行比赛
	public static int minPkScoreNeed = 200;

	// 在线每分钟增加几点竞技点
	public static int addPkScorePerUnit = 5;

	// 跨服区内喇叭消耗几点竞技点
	public static int speakerCostOfPkScore = 100;

	// 跨服擂台是否开放
	public static boolean isMultiLeiTaiOpen = true;

	// 整理仓库的时间间隔
	public static long intevalOfOrderStorage = 5 * MS_PER_MINUTE;

	// 门派试炼一轮的次数
	public static int maxTurnOfFamilyTrain = 60;

	// 门派试炼道行奖励基数,奖励＝轮次X基数(天)
	public static double baseDaoAwardOfFamilyTrain = 12;

	// 门派试炼经验奖励基数,奖励＝轮次X基数(倍打怪经验)
	public static double baseExpAwardOfFamilyTrain = 1;

	// 刷道活动比较随机奖励的机率
	public static int extraAwardOfDaoRate = 5;

	// TODO:测试参数
	public static boolean testErrorRoleId = false;
	public static boolean testBetTimeOut = false;
	public static boolean testBatchLeaveGameTimeOut = false;
	public static boolean testCheckPropSqlTimeOut = false;
	public static boolean lockWhenSendingChat = false; // 发送聊天时是否锁住角色
	public static boolean testCheckSceen = false;

	/*********** 临时活动参数 ***********/

	// 在线全民送K币活动是否开启
	public static boolean isAllOnlineSendKbOpen = false;

	// 是否开始统计玩家充值数额
	public static boolean calRoleTotalPay = false;

	// TODO
	public static boolean isCalRoleTotalPay() {
		// Date now = new Date();
		// // 2月4~6号进行充值排名活动
		// if (now.getMonth() == 1 && now.getDate() >= 4 && now.getDate() <= 6)
		// {
		// return true;
		// }
		return calRoleTotalPay;
	}

	/************************* 游戏参数 **************************/

	// 快捷方式版本号:更改快捷方式后需要提升版本号
	// 可不使用，可去除
	public static final int quickStartVersion = 1;

	// 团队快捷方式版本号：更改团队快捷方式后需要提升版本号
	// 可不使用，可去除
	public static final int multiPlayerTeamVersion = 1;

	// 商城版本号:更改商城大类后需要提升版本号
	// 可不使用，可去除
	public static final int shopClassVersion = 1;

	// 昵称最长几个字
	public static final int maxNameLen = 5;

	// 当前等级上限
	public static int maxLevel = 129;

	// 转生最高次数
	public static int maxLifeTurn = 6;

	// 怪物最高等级
	public static int npcMaxLevel = 220;

	// 装备最高等级
	public static int equipMaxLevel = 120;

	// 玩家掉线超时时间
	private static int roleTimeOutTime = 60000;

	public static int getRoleTimeOutTime() {
		if (MmochatMain.serverType == MmochatServerType.跨服战服务器) {
			return 4 * roleTimeOutTime;
		}
		return roleTimeOutTime;
	}

	// 玩家掉线多久后从内存中移除，并存入数据库(认为是真正离线，而非掉线)
	public static int roleLeaveGameTime = (int) (MS_PER_MINUTE * 10);

	// 战斗操作超时时间(时间从上一回合下发操作开始计算)
	public static int pkTimeOutTime = 70000;

	// 普通战斗回合，玩家操作时间上限
	public static long pkOptionTimeLimit = 30000;

	// 比赛战斗回合，玩家操作时间上限
	public static long pkGameOptionTimeLimit = 20000;

	// 战斗回合，一个角色的战斗动画播放时间上限
	public static long pkActionPlayTimeLimitPerRole_max = 3000;
	public static long pkActionPlayTimeLimitPerRole = 2500;
	public static long pkActionPlayTimeLimit2PerRole = 1200;

	// 战斗回合，一回合时间上限，超时则结束战斗
	public static long pkRoundTimeLimit = 60000;

	// 网络传输时间
	public static long netDelay = 5000;

	// 玩家离开多久后，进入省流量模式
	public static final int roleLeaveTime = (int) (MS_PER_MINUTE * 11);

	// 一个玩家最多创建角色数
	public static final int maxRolePerSkyId = 4;

	// 每个地图的线数
	public static final int maxMapLineNum = 10;

	// 每个角色接收场景内角色增减的最小时间间隔(ms)
	public static int minIntervalToReceiveSceenInfo = 2000;

	// 定时下发移动信息时一次最多下发移动数
	public static int maxRoleNumToMove = 5;

	// 定时下发周边玩家信息时一次最大下发角色数:执行删除操作
	public static int maxRoleNumToDeleteAfterMove = 20;

	// 定时下发周边玩家信息时一次最大下发角色数:执行增加操作
	public static int maxRoleNumToAddAfterMove = 15;

	// 定时下发周边玩家信息时一次最大下发NPC数:执行删除操作
	public static int maxNpcNumToDeleteAfterMove = 20;

	// 定时下发周边玩家信息时一次最大下发NPC数:执行增加操作
	public static int maxNpcNumToAddAfterMove = 10;

	// 定时下发周边玩家信息时一次最大下发状态变更数:执行状态变更操作
	public static int maxStateNumToModifyAfterMove = 10;

	// 同屏尺寸
	public static final int screenWidth = 239;
	public static final int screenHeight = 184;

	// 一场战斗最多持续的回合数
	public static int maxRoundPerBattle = 60;

	// 击杀战神最多回合数
	public static int maxRoundForGod = 150;

	// 单人比赛最大回合数
	public static int maxRoundInSingleMatch = 30;

	// 每个玩家同时可接最多任务数
	public static final int maxUnfinishedTaskNum = 10;

	// 每个包裹中最多放置宠物数
	public static final int maxPetNumPerPackage = 4;

	// 包裹可叠加物品最多叠加数量
	public static final int maxNumToOverlapOfPackage = 40;

	// 仓库可叠加物品最多叠加数量
	public static final int maxNumToOverlapOfStorage = 99;

	// 战斗中一列玩家人数
	public static final int rowNumInPk = 5;

	// 怪、宠学会第一个法术技能的角色等级(一个攻击目标)
	public static final int monsterSkill1LevelNeed = 10;

	// 怪、宠学会第二个法术技能的角色等级(二个攻击目标)
	public static final int monsterSkill2LevelNeed = 27;

	// 每个玩家最多好友数
	public static final int maxFriendNum = 100;

	// 每个玩家最多黑名单人数
	public static final int maxEnermyNum = 100;

	// 每个玩家最多临时好友人数
	public static final int maxTempFriendNum = 20;

	// 私聊最多字数
	public static final int maxWordNumInChat = 40;

	// 一键补蓝补血最短间隔
	public static final int minIntervalToAutoUseDrug = 1000;

	// 宠物命中率上下限
	public static final int petMinHitProtential = 60;
	public static final int petMaxHitProtential = 90;

	// 宠物闪避率上下限
	public static final int petMinAvoidProtential = 60;
	public static final int petMaxAvoidProtential = 90;

	// 交易宠物最高不能高于对方等级数
	public static final int maxPetLevelMoreThanOwner = 10;

	// 宠物比人物高出多少级后不再获得经验
	public static final int zeroAwardOfPetLevelMoreThanOwner = 10;

	// 法玲珑补蓝上限
	public static final int maxSpritPropCanAdd = 15000;

	// 血玲珑PVP补血上限
	public static final int maxBloodPropCanAdd = 60000;

	// 血玲珑打怪补血上限
	public static final int maxBloodPropCanAddForPVE = 200000;

	public static int getMaxBloodPropCanAdd(MmochatBattleType battleType) {
		if (battleType.isPVP()) {
			return maxBloodPropCanAdd;
		} else {
			return maxBloodPropCanAddForPVE;
		}
	}

	// 宠物抗障碍上限(百分比)
	public static final int maxPetAntiLimit = 40;

	// 最大改造上限
	public static final int maxEquipModifyLevel = 20;

	// 宠物升级经验和获得经验占人经验的百分比
	public static final double petExpPercentOfPerson = 0.8;

	// 新手免费洗点的等级要求
	private static int maxLevelToFreeSetPoint = 40;

	public static int getMaxLevelToFreeSetPoint() {
		return maxLevelToFreeSetPoint;
	}

	// 创建帮派的人物等级要求
	public static final int minLevelNeedToCreateGang = 30;

	// 帮派界面一页显示成员数
	public static final int maxMemberToShowPerPage = 11;

	// 帮派群发消息的时间间隔
	public static final int intervalOfGangSendingMsgToAll = (int) MS_PER_MINUTE;

	// 帮派列表一页显示的帮派数
	public static final int maxGangNumShowPerPage = 13;

	// 取消帮派任务后，需要再等多少时间才能再接
	public static final int intervalOfGangTask = (int) MS_PER_MINUTE;

	// 收徒弟最低等级
	public static final int minLevelOfTeacher = 80;

	// 找师傅最高等级
	public static final int maxLevelOfStudent = 74;

	// 出师等级
	public static final int graduateLevel = 75;

	// 徒弟最多个数
	public static final int maxStudentNum = 3;

	// 师德抽奖一次需要的师德
	public static final int teacherScorePerGame = 8000;

	// 一场战斗最多观战人数
	public static final int maxAudiencesPerBattle = 50;

	// 比武场切磋最低战绩要求
	public static final int minZhangJiNeedInPkMap = 1000;

	// 战绩上限
	public static final int zhanJiLimit = 9999999;

	// 打怪增加战绩上限
	public static final int zhanJiLimitOfKillMonster = 50000;

	// 包裹格子序号起始
	public static final int packageGridIndexHead = 100;

	// 非VIP的包裹格子序号结束
	public static final int nonVipPackageGridIndexTail = 139;

	// VIP的包裹格子序号结束
	public static final int vipPackageGridIndexTail = 159;

	// 仓库格子起始序号
	public static final int storageGridIndexHead = 100;

	// 仓库格子序号结束
	public static final int storageGridIndexTail = 239;

	// 交易的格子数
	public static final int dealPackageGridNum = 6;

	// 冰冻后伤害为原来的百分比
	public static final double freezeAttackParam = 0.3;

	// 宠、怪、BOSS使用法术技能时的法术技能伤害系数
	public static final double monsterSkillHurtParam = 0.75;

	// 每种天赋分配上限
	private static final int maxNumPerGift = 30;

	public static int getMaxNumPerGift(int lifeTurn) {
		return maxNumPerGift + lifeTurn * 5;
	}

	// 首饰最多附加属性条数
	public static final int maxExtraAttrNumOfJewelry = 6;

	// 每个玩家仓库里最多存放的宠物数
	public static int maxPetInStorage = 30;

	// 元宝交易的订单有效期
	public static long bigmoneyDealOrderLifeTime = MS_PER_HOUR * 72;

	// 每个玩家最多同时创建的订单数(未完结的订单数)
	public static int maxBigMoneyDealOrderNumPerRole = 1;

	// 发布求购订单的等级要求
	public static int minBigMoneyDealBuyOrderLevelNeed = 60;

	// 发布求购订单的道行要求
	public static int minBigMoneyDealBuyOrderDaoNeed = 62050;

	// 寄售订单价格上限
	public static int maxBigMoneyDealSellOrderPrice = 100;

	// 求购订单价格上限
	public static int maxBigMoneyDealBuyOrderPrice = 100;

	// 结婚要求的好友度
	public static final int friendValueNeedToMarry = 520;

	// 结婚需要的金钱
	public static final int moneyCostToMarry = 131400;

	// 结拜要求的好友度
	public static final int friendValueNeedToJieBai = 100;

	// 结拜需要的金钱
	public static final int moneyCostToJieBai = 100000;

	// 每个玩家商店最多可以有几个柜台
	public static final int maxPageNumPerShop = 9;

	// 玩家商店一个页面包含几个格子
	public static final int gridNumPerShopPage = 30;

	// 玩家商店销售日志最多保留几条
	public static final int maxLogNumOfShop = 200;

	// 每个玩家最多可以有几家商店
	public static final int maxShopNumPerRole = 3;

	// 商店列表每页显示的商店数量
	public static final int shopNumShowPerPage = 12;

	// 玩家达到几级可以创建商店
	public static final int levelNeedToCreateShop = 30;

	// 转生后等级变成几级
	public static final int levelAfterReborn = 120;

	// 转生装备进化的等级要求
	public static final int equipLifeTurnLevelNeed = 120;

	// 人物仙魔转换需要多少元宝
	public static int bigmoneyNeedToChangSecondRoleType = 1000;

	public static final int taskTag_挑战经验通天塔 = 1;

	public static final int taskTag_挑战道行通天塔 = 2;

	// 锁妖塔内护法NPC数
	public static final int npcNumInTower = 1;

	public static final int minTowerLevel = 20; // 锁妖塔最小层数
	public static final int maxTowerLevel = 300; // 锁妖塔最大层数
	// 锁妖塔从低于自己几级开始打
	public static final int startTowerLevelReduce = 10;
	// 锁妖塔经验奖励参数
	private static int towerExpAwardBase = 140;

	public static int getTowerExpAwardParam(int playerLevel) {
		if (playerLevel < 60) {
			return towerExpAwardBase;
		} else if (playerLevel < 100) {
			return (int) (towerExpAwardBase * 1.1);
		} else if (playerLevel < 120) {
			return (int) (towerExpAwardBase * 1.2);
		} else {
			return (int) (towerExpAwardBase * 1.3);
		}
	}

	// 锁妖塔道行奖励参数
	public static int towerDaoAwardParam = 1095;
	// 最多奖励几层
	public static int maxTowerLevelCountAward = 50;

	// 老用户回归活动是否开启
	public static boolean isPlayerCallBackActivityOpen = true;

	// 解除认主需要多少时间(ms)
	public static long releaseOwnerInterval = MS_PER_DAY * 14;

	// 清除钱庄密码需要多少时间
	public static long releaseStorePwdInterval = MS_PER_DAY * 5;

	// 每场战斗练丹要术掉落强化丹概率
	public static final double strengthDrugDropRate = 7;

	// 每场战斗练丹要术掉落超级强化丹概率
	public static double superStrengthDrugDropRate = 0.34;

	// 强化丹道具effectKey值范围
	public static final int minStrenthDrugEffectKey = 1200;
	public static final int maxStrenthDrugEffectKey = 1300;

	// 世界聊天中，独占消息发出多少时间内，玩家不允许发消息
	public static long systemChatLockTime = 3000;

	// 战斗聊天中，系统消息发出后多少时间内，玩家不允许发消息
	public static long systemPkChatLockTime = 8000;

	// 玩家接收世界聊天的最短间隔
	public static long minIntervalOfFreeWorldChat = 500;

	// 非好友交易时，如果对方名字与本方好友中名字相似度达到多少，就进行提醒
	public static int warnForDealSimilarity = 60;

	// 一次秘籍技能训练增加多少技能熟练度
	public static int proficiencyPerTrainning = 2000;

	// 初级帮派血魔副本中第一波怪的数量
	public static int monsterNumOfGangFuBen1Step1 = 8;

	// 初级帮派血魔副本中第二波怪的数量
	public static int monsterNumOfGangFuBen1Step2 = 10;

	// 血魔副本完成后的帮贡奖励
	public static int gangBuildAwardForFuBen1 = 3000;

	// 血魔副本完成后的帮派资金奖励
	public static int gangMoneyAwardForFuBen1 = 100000;

	// 游客ID起始
	public static int guestRoleIdStart = 9000000;

	// 仓库整理功能是否开放
	public static boolean isStorageWapOpen = true;

	// 是否显示监控日志
	public static boolean isMonitorLogOpen = false;

	// 监控的道具类型
	public static MmochatPropType monitorPropType = MmochatPropType.金钱袋;

	// 练丹术的练丹时间
	public static long lifeDrugCreateTime = MS_PER_DAY;

	// 练丹术的丹药时效
	public static long lifeDrugEffectTime = MS_PER_DAY * 5;

	// 会员增加全属性数值
	public static int attrValueForVip = 5;

	// 借条是否允许使用
	public static boolean allowedBorrow = true;

	// 自助找回出借物品需要多少游戏币
	public static int moneyNeedForGetBackBorrowed = 10000;

	// 战神生命时间：分钟
	public static int superBossLifeTime = 50;

	// 晚上出现的战神数量
	public static int superBossNumInNight = 10;

	// 退出时、战斗后、使用道具后、做任务后保存数据库的操作开关时间
	// 如果当前时间小于此时间，则不保存；否则保存。在其它区合区时需要设置
	// 如果不保存，则用户数据会在内存中，此时间不能过长
	public static long startSaveSqlAfterJobTick = 0;

	// 是否开启战斗后、使用道具后、做任务后保存数据库的操作
	public static boolean saveSqlAfterActiveLock = false;

	// 是否开启新闻角
	public static boolean isNewsOpen = true;

	// 心跳包检测周期(检测此周期内收发次数)，单位：分钟，不能为0
	public static int heartBeatCheckIntervalOfMinute = 10;

	// 心跳包在检测周期内平均每分钟收发多少次，认为使用了加速软件(正常6次/分钟)
	public static int maxHeartBeatTimesPerMin = 9;

	// 是否对加速软件进行处理
	public static boolean isDealHeartBeatError = true;

	// 武魂上人物复活时回血比例
	public static double bloodPercentForReborn = 0.2;

	// 武魂上人物回血技能的回血比例(0-1)
	public static double addBloodPercentForPkSkill = 0.2;

	// 武魂上宠物回血技能的回血比例(0-1)
	public static double addPetBloodPercentForPkSkill = 0.1;

	// 武魂上人物回法技能的回法比例(0-1)
	public static double addSpritPercentForPkSkill = 0.2;

	// 武魂上宠物回法技能的回法比例(0-1)
	public static double addPetSpritPercentForPkSkill = 0.1;

	// 武魂石灵气丹增加的灵气
	public static final int expInPkStoneExpBadBall = 100;

	// 武魂石灵气池增加的灵气
	public static final int expInPkStoneExpGoodBall = 2000;

	// 武魂石初始等级上限
	public static final int pkStoneInitLevelLimit = 16;

	// 武魂石等级上限
	public static final int pkStoneMaxLevel = 36;

	// 押镖活动中基本金钱奖励
	public static int baseMoneyForYB = 5000;

	// 押镖活动中轮次金钱系数
	public static int turnMoneyParamForYB = 5000;

	// 鬼灵珠累计时间上限
	public static long maxEffectTimeOfGhostBall = MS_PER_HOUR * 10;

	// 预充值活动兑换比例
	public static int delayPayMinExchangeRate = 110;
	public static int delayPayMaxExchangeRate = 140;

	// 录像功能是否开启
	public static boolean isBattleRecordOpen = true;

	// 每类录像最多显示几个
	public static int maxRecordNumShow = 50;

	// 录像录制后如果连续多久没发布，则删除,分钟
	public static int recordLifeTime = 20;

	// 石头剪刀布是否开放
	public static boolean isStoneBetOpen = true;

	// 石头剪刀布税率
	public static int stoneBetTax = 5;

	// 每个人最多创建未处理的石头剪刀布比赛数量
	public static int maxStoneBetPerRole = 20;

	// 石头剪刀布完成后保留多少时间,小时
	public static int stoneBetDoneKeepTime = 10;

	/************************* 服务控件窗体 **************************/
	public static final int TLV_WIN_BASE = 200;
	public static final int TLV_WIN_TASKLIST = TLV_WIN_BASE + 1;
	public static final int TLV_WIN_UNUSED_EQUIPLIST = TLV_WIN_BASE + 2;
	public static final int TLV_WIN_WEAPONED_EQUIPLIST = TLV_WIN_BASE + 3;
	public static final int TLV_WIN_ALL_UNUSED_EQUIPLIST = TLV_WIN_BASE + 4;
	// public static final int TLV_WIN_DEAL_CHOOSEOBJ = TLV_WIN_BASE + 5; //
	// 选择交易物品类别
	public static final int TLV_WIN_DEAL_CHOOSEEQUIP = TLV_WIN_BASE + 6; // 交易装备
	public static final int TLV_WIN_DEAL_CHOOSEDRUG = TLV_WIN_BASE + 7; // 交易药品
	public static final int TLV_WIN_DEAL_CHOOSEMATERIAL = TLV_WIN_BASE + 8; // 交易材料
	public static final int TLV_WIN_DEAL_LOCK = TLV_WIN_BASE + 9; // 锁定交易物品
	public static final int TLV_WIN_DEAL_CHECKGOODS = TLV_WIN_BASE + 10; // 检查对方物品
	public static final int TLV_WIN_PETLIST = TLV_WIN_BASE + 11; // 宠物蓝
	public static final int TLV_WIN_DEAL_CHOOSEPET = TLV_WIN_BASE + 12; // 交易宠物
	public static final int TLV_WIN_QUICKSTART = TLV_WIN_BASE + 13; // 快捷操作
	public static final int TLV_WIN_MYTEAM = TLV_WIN_BASE + 14; // 我的队伍
	public static final int TLV_WIN_TEAMREQUEST = TLV_WIN_BASE + 15; // 入队请求
	public static final int TLV_WIN_DRUGBAG = TLV_WIN_BASE + 16; // 药品箱
	public static final int TLV_WIN_MATERIALBAG = TLV_WIN_BASE + 17; // 材料箱
	// public static final int TLV_WIN_ONLINEFRIEND = TLV_WIN_BASE + 18; //
	// 在线好友列表
	// public static final int TLV_WIN_OFFLINEFRIEND = TLV_WIN_BASE + 19; //
	// 离线好友列表
	public static final int TLV_WIN_TEMPFRIEND = TLV_WIN_BASE + 20;// 临时好友列表
	// public static final int TLV_WIN_ENERMY = TLV_WIN_BASE + 21; // 黑名单列表
	public static final int TLV_WIN_PETDRUGBAG = TLV_WIN_BASE + 22; // 宠物药品箱
	public static final int TLV_WIN_PKCALLPET = TLV_WIN_BASE + 23; // 战斗中召唤宠物界面
	public static final int TLV_WIN_TASKINFO = TLV_WIN_BASE + 24; // 任务详情
	public static final int TLV_WIN_UNUSEDWEAPON_TOSTORE = TLV_WIN_BASE + 25; // 存放装备
	public static final int TLV_WIN_FETCHWEAPON_FROMSTORE = TLV_WIN_BASE + 26; // 取回装备
	public static final int TLV_WIN_DRUG_TOSTORE = TLV_WIN_BASE + 27; // 存放药品
	public static final int TLV_WIN_FETCHDURG_FROMSTORE = TLV_WIN_BASE + 28; // 取回药品
	public static final int TLV_WIN_MATERIAL_TOSTORE = TLV_WIN_BASE + 29; // 存放材料
	public static final int TLV_WIN_FETCHMATERIAL_FROMSTORE = TLV_WIN_BASE + 30; // 取回材料
	public static final int TLV_WIN_PET_TOSTORE = TLV_WIN_BASE + 31; // 存放宠物
	public static final int TLV_WIN_FETCHPET_FROMSTORE = TLV_WIN_BASE + 32; // 取回宠物
	public static final int TLV_WIN_PROP_TOSTORE = TLV_WIN_BASE + 33; // 存放道具
	public static final int TLV_WIN_FETCHPROP_FROMSTORE = TLV_WIN_BASE + 34; // 取回道具
	public static final int TLV_WIN_PROPBAG = TLV_WIN_BASE + 35; // 道具箱
	public static final int TLV_WIN_DEAL_CHOOSEPROP = TLV_WIN_BASE + 36; // 交易道具
	public static final int TLV_WIN_SELL_TO_SYSTEM = TLV_WIN_BASE + 37; // 物品回收
	public static final int TLV_WIN_SHOPLIST = TLV_WIN_BASE + 38; // 商城大类列表
	public static final int TLV_WIN_PAYMENT = TLV_WIN_BASE + 39; // 充值页面
	public static final int TLV_WIN_PETPROPBAG = TLV_WIN_BASE + 40; // 宠物道具箱
	public static final int TLV_WIN_UPLEVELEQUIP = TLV_WIN_BASE + 41; // 查看要改造的装备
	public static final int TLV_WIN_UPLEVELEQUIPLIST = TLV_WIN_BASE + 42; // 改造装备大类列表
	public static final int TLV_WIN_EQUIPPROTENTIAL = TLV_WIN_BASE + 43; // 查看要开启潜力的装备
	public static final int TLV_WIN_EQUIPNEWATTR = TLV_WIN_BASE + 44; // 查看要属性重生的装备
	public static final int TLV_WIN_EQUIPATTRLIST = TLV_WIN_BASE + 45; // 可以重生的属性列表
	public static final int TLV_WIN_EQUIP_STRENGTH_ATTR = TLV_WIN_BASE + 46; // 查看要属性强化的装备
	public static final int TLV_WIN_EQUIP_STRENGTH_ATTRLIST = TLV_WIN_BASE + 47; // 可以强化的属性列表
	public static final int TLV_WIN_LINELIST = TLV_WIN_BASE + 48; // 线路列表
	public static final int TLV_WIN_BUYDRUG = TLV_WIN_BASE + 49; // 购买药品
	// public static final int TLV_WIN_SET_SHOWROLE = TLV_WIN_BASE + 50; //
	// 显示玩家设置
	public static final int TLV_WIN_SET_SHOWCHAT = TLV_WIN_BASE + 51; // 显示聊天设置
	public static final int TLV_WIN_SET_PK = TLV_WIN_BASE + 52; // PK设置
	public static final int TLV_WIN_SET_FRIEND = TLV_WIN_BASE + 53; // 好友设置
	public static final int TLV_WIN_ADDEQUIP_TOCHAT = TLV_WIN_BASE + 54; // 好友设置
	public static final int TLV_WIN_MULTIPLAYERTEAM = TLV_WIN_BASE + 55; // 帮派，战队等功能的列表
	public static final int TLV_WIN_STUDENTLIST = TLV_WIN_BASE + 56; // 徒弟列表
	public static final int TLV_WIN_CLICKROLE = TLV_WIN_BASE + 57; // 点击玩家时显示的操作列表
	public static final int TLV_WIN_PACKAGE = TLV_WIN_BASE + 58; // 3键包裹
	public static final int TLV_WIN_SET_SCREEN_ROLE_NUM = TLV_WIN_BASE + 59; // 设置同屏人数上限
	public static final int TLV_WIN_SKILL_INFO = TLV_WIN_BASE + 60;// 技能信息
	public static final int TLV_WIN_SUGGESTSCORE_2MONEY = TLV_WIN_BASE + 61; // 推荐人积分兑换元宝
	public static final int TLV_WIN_SUGGESTSCORE_2KB = TLV_WIN_BASE + 62; // 推荐人积分兑换K币
	public static final int TLV_WIN_DISCOUNT = TLV_WIN_BASE + 63; // 抢便宜活动页面
	public static final int TLV_WIN_AWARD = TLV_WIN_BASE + 64; // 充值抽奖页面
	public static final int TLV_WIN_SKILL_LIST = TLV_WIN_BASE + 65;// 技能列表信息
	public static final int TLV_WIN_SET_OTHER = TLV_WIN_BASE + 66; // 其它系统设置
	public static final int TLV_WIN_PLAYERSHOP_INTRO = TLV_WIN_BASE + 67; // 玩家商店公告
	public static final int TLV_WIN_PLAYERSHOP_SELL = TLV_WIN_BASE + 68; // 二手商店
	public static final int TLV_WIN_PLAYERSHOP_SELLLOG = TLV_WIN_BASE + 69; // 商店出售记录
	public static final int TLV_WIN_CHENHAO = TLV_WIN_BASE + 70; // 称号列表
	public static final int TLV_WIN_HONOR = TLV_WIN_BASE + 71; // 声望竞猜
	public static final int TLV_WIN_CLEARPWD = TLV_WIN_BASE + 72; // 清除钱庄密码
	public static final int TLV_WIN_MYSPECIAL_SKILL = TLV_WIN_BASE + 73; // 我的特殊技能
	public static final int TLV_WIN_TRAIN_SPECIAL_SKILL = TLV_WIN_BASE + 74; // 训练熟练度
	public static final int TLV_WIN_LIFE_SKILL1 = TLV_WIN_BASE + 75;// 查看我的练丹术
	public static final int TLV_WIN_LIFE_SKILL2 = TLV_WIN_BASE + 76;// 炼丹
	public static final int TLV_WIN_ONLINEAWARD = TLV_WIN_BASE + 77;// 在线奖励页面
	public static final int TLV_WIN_FASTLOTTERY = TLV_WIN_BASE + 78;// 即时抽奖页面
	public static final int TLV_WIN_NEWS = TLV_WIN_BASE + 79;// 新闻页面
	public static final int TLV_WIN_DELAYPAY = TLV_WIN_BASE + 80;// 预充值选金额页面
	public static final int TLV_WIN_STONEBET1 = TLV_WIN_BASE + 81;// 石头剪刀布
	public static final int TLV_WIN_STONEBET2 = TLV_WIN_BASE + 82;// 石头剪刀布
	public static final int TLV_WIN_STONEBET3 = TLV_WIN_BASE + 83;// 石头剪刀布
	public static final int TLV_WIN_STONEBET4 = TLV_WIN_BASE + 84;// 石头剪刀布
	public static final int TLV_WIN_STONEBET5 = TLV_WIN_BASE + 85;// 石头剪刀布

	/************************* 通信协议 **************************/
	public static final int MSGCODE_SUBPROTOCAL_NUM = 0x100; // 子协议里最多可以有的协议数

	public static final int MSGCODE_MMOCHAT_BASE = 0x1001;
	public static final int MSGCODE_MMOCHAT_1_BASE = (MSGCODE_MMOCHAT_BASE);
	public static final int MSGCODE_MMOCHAT_2_BASE = (MSGCODE_MMOCHAT_1_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_3_BASE = (MSGCODE_MMOCHAT_2_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_4_BASE = (MSGCODE_MMOCHAT_3_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_5_BASE = (MSGCODE_MMOCHAT_4_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_6_BASE = (MSGCODE_MMOCHAT_5_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_7_BASE = (MSGCODE_MMOCHAT_6_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_8_BASE = (MSGCODE_MMOCHAT_7_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_9_BASE = (MSGCODE_MMOCHAT_8_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_10_BASE = (MSGCODE_MMOCHAT_9_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_11_BASE = (MSGCODE_MMOCHAT_10_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_12_BASE = (MSGCODE_MMOCHAT_11_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_13_BASE = (MSGCODE_MMOCHAT_12_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_14_BASE = (MSGCODE_MMOCHAT_13_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_15_BASE = (MSGCODE_MMOCHAT_14_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_16_BASE = (MSGCODE_MMOCHAT_15_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_17_BASE = (MSGCODE_MMOCHAT_16_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_18_BASE = (MSGCODE_MMOCHAT_17_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_19_BASE = (MSGCODE_MMOCHAT_18_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_20_BASE = (MSGCODE_MMOCHAT_19_BASE + MSGCODE_SUBPROTOCAL_NUM);
	public static final int MSGCODE_MMOCHAT_21_BASE = (MSGCODE_MMOCHAT_20_BASE + MSGCODE_SUBPROTOCAL_NUM);

	// 跨版本协议号(保证在升级版本后，这些协议都不改变)
	public static final int MSGCODE_MMOCHAT_TLV_HALLSTATE = 0x1; // s->c
	// 带hallState的tlv
	public static final int MSGCODE_MMOCHAT_TLV = 0x2; // s->c 不带hallState的tlv
	public static final int MSGCODE_MMOCHAT_CLIENTVERSION_ERROR = 0x3; // s->c
	// 终端版本太旧，要求终端退出游戏
	public static final int MSGCODE_MMOCHAT_LEAVEGAME = 0x4; // c->s 退出游戏
	// 终端上传font.mrp的文件长度
	public static final int MSGCODE_MMOCHAT_CFGCTROL = 0x5; // c->s
	// 下发cfg控制文件
	public static final int MSGCODE_MMOCHAT_SEND_CFGCTROL = 0x6; // s->c

	// 进入游戏 0x1000
	public static final int MSGCODE_MMOCHAT_C_1_1 = (MSGCODE_MMOCHAT_1_BASE); // 进入游戏
	public static final int MSGCODE_MMOCHAT_S_1_1 = (MSGCODE_MMOCHAT_1_BASE + 1); // 进入游戏
	public static final int MSGCODE_MMOCHAT_C_1_2 = (MSGCODE_MMOCHAT_1_BASE + 2); // 返回服务器名字
	public static final int MSGCODE_MMOCHAT_C_1_3 = (MSGCODE_MMOCHAT_1_BASE + 4); // 获取角色列表
	public static final int MSGCODE_MMOCHAT_S_1_3 = (MSGCODE_MMOCHAT_1_BASE + 5); // 获取角色列表
	public static final int MSGCODE_MMOCHAT_C_1_4 = (MSGCODE_MMOCHAT_1_BASE + 6); // 创建新角色
	public static final int MSGCODE_MMOCHAT_C_1_5 = (MSGCODE_MMOCHAT_1_BASE + 8); // 心跳包
	public static final int MSGCODE_MMOCHAT_S_1_6 = (MSGCODE_MMOCHAT_1_BASE + 9); // 下发快捷方式
	public static final int MSGCODE_MMOCHAT_S_1_7 = (MSGCODE_MMOCHAT_1_BASE + 11); // 下发更新宠物人物头像信息
	public static final int MSGCODE_MMOCHAT_C_1_8 = (MSGCODE_MMOCHAT_1_BASE + 12); // 地图传送
	public static final int MSGCODE_MMOCHAT_C_1_9 = (MSGCODE_MMOCHAT_1_BASE + 14); // 飞回师门
	public static final int MSGCODE_MMOCHAT_S_1_10 = (MSGCODE_MMOCHAT_1_BASE + 19); // 更新主角名字
	public static final int MSGCODE_MMOCHAT_C_1_11 = (MSGCODE_MMOCHAT_1_BASE + 20); // 请求服务器列表
	public static final int MSGCODE_MMOCHAT_S_1_11 = (MSGCODE_MMOCHAT_1_BASE + 21); // 下发服务器列表
	public static final int MSGCODE_MMOCHAT_C_1_12 = (MSGCODE_MMOCHAT_1_BASE + 22); // 向服务器列表实例发送当前服务器信息
	public static final int MSGCODE_MMOCHAT_C_1_13 = (MSGCODE_MMOCHAT_1_BASE + 24); // 删除角色请求
	public static final int MSGCODE_MMOCHAT_C_1_14 = (MSGCODE_MMOCHAT_1_BASE + 26); // 删除角色操作
	public static final int MSGCODE_MMOCHAT_C_1_15 = (MSGCODE_MMOCHAT_1_BASE + 28); // 换线
	public static final int MSGCODE_MMOCHAT_S_1_16 = (MSGCODE_MMOCHAT_1_BASE + 31); // 更新自己的状态
	public static final int MSGCODE_MMOCHAT_S_1_17 = (MSGCODE_MMOCHAT_1_BASE + 33); // 下发团队快捷方式
	public static final int MSGCODE_MMOCHAT_C_1_18 = (MSGCODE_MMOCHAT_1_BASE + 34); // 上传终端资源文件版本信息
	public static final int MSGCODE_MMOCHAT_S_1_18 = (MSGCODE_MMOCHAT_1_BASE + 35); // 下发需要更新的资源文件列表
	public static final int MSGCODE_MMOCHAT_S_1_19 = (MSGCODE_MMOCHAT_1_BASE + 37); // 向服务器列表实例发送当前服务器状态：维护等
	public static final int MSGCODE_MMOCHAT_S_1_20 = (MSGCODE_MMOCHAT_1_BASE + 39); // 下发终端屏弊设置
	public static final int MSGCODE_MMOCHAT_S_1_21 = (MSGCODE_MMOCHAT_1_BASE + 41); // 终端过图后，下发新地图的其它玩家信息、固定NPC的任务状态、临时NPC给终端
	public static final int MSGCODE_MMOCHAT_C_1_22 = (MSGCODE_MMOCHAT_1_BASE + 42); // 通知服务器，终端已经完成切换地图，可以解锁了
	public static final int MSGCODE_MMOCHAT_S_1_23 = (MSGCODE_MMOCHAT_1_BASE + 45); // 更新驱魔香效果
	public static final int MSGCODE_MMOCHAT_C_1_24 = (MSGCODE_MMOCHAT_1_BASE + 46); // 请求传送到临时地图
	public static final int MSGCODE_MMOCHAT_C_1_25 = (MSGCODE_MMOCHAT_1_BASE + 48); // 验证推荐人信息
	public static final int MSGCODE_MMOCHAT_S_1_25 = (MSGCODE_MMOCHAT_1_BASE + 49); // 验证推荐人信息回复
	public static final int MSGCODE_MMOCHAT_C_1_26 = (MSGCODE_MMOCHAT_1_BASE + 50); // 跨服发送推荐人奖励
	public static final int MSGCODE_MMOCHAT_S_1_27 = (MSGCODE_MMOCHAT_1_BASE + 53); // 下发更新下雨状态
	public static final int MSGCODE_MMOCHAT_C_1_28 = (MSGCODE_MMOCHAT_1_BASE + 54); // 请求进入另一个服务器指定地图指定线路
	public static final int MSGCODE_MMOCHAT_C_1_29 = (MSGCODE_MMOCHAT_1_BASE + 56); // 通知原服务器，玩家已成功进入另一服务器，消息需转发
	public static final int MSGCODE_MMOCHAT_SEND_HONOR_CHENHAO_TO_OLDSERVER = (MSGCODE_MMOCHAT_1_BASE + 58);
	public static final int MSGCODE_MMOCHAT_BACKTO_OLDSERVER = (MSGCODE_MMOCHAT_1_BASE + 62);
	public static final int MSGCODE_MMOCHAT_SEND_HONOR_TO_OLDSERVER = (MSGCODE_MMOCHAT_1_BASE + 64);
	public static final int MSGCODE_MMOCHAT_SEND_MULTISERVER_WUDAO_RESULT = (MSGCODE_MMOCHAT_1_BASE + 66);
	public static final int MSGCODE_MMOCHAT_C_1_30 = (MSGCODE_MMOCHAT_1_BASE + 68);// 游客申请临时roleId
	public static final int MSGCODE_MMOCHAT_S_1_31 = (MSGCODE_MMOCHAT_1_BASE + 71);// 下发游客进入游戏信息
	public static final int MSGCODE_MMOCHAT_S_1_32 = (MSGCODE_MMOCHAT_1_BASE + 73);// 试玩结束，弹出注册框
	public static final int MSGCODE_MMOCHAT_C_1_33 = (MSGCODE_MMOCHAT_1_BASE + 74);// 游客补充角色资料
	public static final int MSGCODE_MMOCHAT_C_1_34 = (MSGCODE_MMOCHAT_1_BASE + 76);// 申请进入跨服擂台
	public static final int MSGCODE_MMOCHAT_C_1_35 = (MSGCODE_MMOCHAT_1_BASE + 78);// 查看公告详情
	public static final int MSGCODE_MMOCHAT_C_1_36 = (MSGCODE_MMOCHAT_1_BASE + 80);// 发送跨服宣言到列表服务器
	public static final int MSGCODE_MMOCHAT_C_1_38 = (MSGCODE_MMOCHAT_1_BASE + 82);// 列表服务器发送跨服宣言到所有区服

	// 角色移动 0x1100
	public static final int MSGCODE_MMOCHAT_C_2_1 = (MSGCODE_MMOCHAT_2_BASE); // 上传移动信息
	public static final int MSGCODE_MMOCHAT_S_2_2 = (MSGCODE_MMOCHAT_2_BASE + 1); // 下发移动信息
	public static final int MSGCODE_MMOCHAT_C_2_3 = (MSGCODE_MMOCHAT_2_BASE + 2); // 请求roleId玩家的角色信息
	public static final int MSGCODE_MMOCHAT_S_2_3 = (MSGCODE_MMOCHAT_2_BASE + 3); // 请求roleId玩家的角色信息
	public static final int MSGCODE_MMOCHAT_S_2_8 = (MSGCODE_MMOCHAT_2_BASE + 11);// 下发场景变动信息
	public static final int MSGCODE_MMOCHAT_C_2_9 = (MSGCODE_MMOCHAT_2_BASE + 12);// 走动遇怪

	// 回合战斗 0x1200
	public static final int MSGCODE_MMOCHAT_S_3_1 = (MSGCODE_MMOCHAT_3_BASE + 1); // 下发当前战场状态
	public static final int MSGCODE_MMOCHAT_C_3_2 = (MSGCODE_MMOCHAT_3_BASE + 2); // 上传战斗操作
	public static final int MSGCODE_MMOCHAT_S_3_3 = (MSGCODE_MMOCHAT_3_BASE + 5); // 下发战斗操作序列
	public static final int MSGCODE_MMOCHAT_S_3_4 = (MSGCODE_MMOCHAT_3_BASE + 7); // 下发已经完成操作提示
	public static final int MSGCODE_MMOCHAT_C_3_5 = (MSGCODE_MMOCHAT_3_BASE + 8); // 上传战斗聊天
	public static final int MSGCODE_MMOCHAT_S_3_5 = (MSGCODE_MMOCHAT_3_BASE + 9); // 下发战斗聊天
	public static final int MSGCODE_MMOCHAT_C_3_6 = (MSGCODE_MMOCHAT_3_BASE + 10); // 请求可召唤宠物列表
	public static final int MSGCODE_MMOCHAT_C_3_7 = (MSGCODE_MMOCHAT_3_BASE + 12); // 上传召唤宠物操作
	public static final int MSGCODE_MMOCHAT_C_3_8 = (MSGCODE_MMOCHAT_3_BASE + 14); // 战斗结束
	public static final int MSGCODE_MMOCHAT_C_3_9 = (MSGCODE_MMOCHAT_3_BASE + 16); // 退出观战
	public static final int MSGCODE_MMOCHAT_C_3_10 = (MSGCODE_MMOCHAT_3_BASE + 18); // 上传战斗动画已经结束
	public static final int MSGCODE_MMOCHAT_S_3_11 = (MSGCODE_MMOCHAT_3_BASE + 21); // 下发强制结束动画协议
	public static final int MSGCODE_MMOCHAT_S_3_12 = (MSGCODE_MMOCHAT_3_BASE + 23); // 下发战斗操作序列part1
	public static final int MSGCODE_MMOCHAT_S_3_13 = (MSGCODE_MMOCHAT_3_BASE + 25); // 下发战斗操作序列part2
	public static final int MSGCODE_MMOCHAT_C_3_14 = (MSGCODE_MMOCHAT_3_BASE + 26); // 上传检查战斗是否结束
	public static final int MSGCODE_MMOCHAT_C_3_15 = (MSGCODE_MMOCHAT_3_BASE + 28);// 打开道行宝箱

	// 任务 0x1300
	public static final int MSGCODE_MMOCHAT_C_4_1 = (MSGCODE_MMOCHAT_4_BASE); // 点击npc
	public static final int MSGCODE_MMOCHAT_C_4_2 = (MSGCODE_MMOCHAT_4_BASE + 2); // 点击npc可接/可完成任务
	public static final int MSGCODE_MMOCHAT_C_4_3 = (MSGCODE_MMOCHAT_4_BASE + 4); // 点击npc对话框确定键
	public static final int MSGCODE_MMOCHAT_C_4_4 = (MSGCODE_MMOCHAT_4_BASE + 6); // 查看玩家任务列表
	public static final int MSGCODE_MMOCHAT_S_4_4 = (MSGCODE_MMOCHAT_4_BASE + 7); // 下发当前任务、可接任务、日常活动、推荐活动
	public static final int MSGCODE_MMOCHAT_C_4_5 = (MSGCODE_MMOCHAT_4_BASE + 8); // 显示任务详情
	public static final int MSGCODE_MMOCHAT_C_4_6 = (MSGCODE_MMOCHAT_4_BASE + 10); // 查看可接任务信息
	public static final int MSGCODE_MMOCHAT_C_4_7 = (MSGCODE_MMOCHAT_4_BASE + 12); // 放弃任务
	public static final int MSGCODE_MMOCHAT_S_4_8 = (MSGCODE_MMOCHAT_4_BASE + 15); // 下发图标闪动
	public static final int MSGCODE_MMOCHAT_S_4_9 = (MSGCODE_MMOCHAT_4_BASE + 17); // 显示行走路线
	public static final int MSGCODE_MMOCHAT_C_4_10 = (MSGCODE_MMOCHAT_4_BASE + 18); // 查看活动详情
	public static final int MSGCODE_MMOCHAT_S_4_11 = (MSGCODE_MMOCHAT_4_BASE + 21); // 修改、增加当前任务
	public static final int MSGCODE_MMOCHAT_S_4_12 = (MSGCODE_MMOCHAT_4_BASE + 23); // 删除当前任务
	public static final int MSGCODE_MMOCHAT_C_4_13 = (MSGCODE_MMOCHAT_4_BASE + 24); // 请求更新可接任务
	public static final int MSGCODE_MMOCHAT_S_4_13 = (MSGCODE_MMOCHAT_4_BASE + 25); // 更新可接任务
	public static final int MSGCODE_MMOCHAT_S_4_14 = (MSGCODE_MMOCHAT_4_BASE + 27); // 更新NPC任务标志

	// 包裹 0x1400
	// public static final int MSGCODE_MMOCHAT_C_5_1 = (MSGCODE_MMOCHAT_5_BASE);
	public static final int MSGCODE_MMOCHAT_C_5_2 = (MSGCODE_MMOCHAT_5_BASE + 2); // 查看子包裹
	public static final int MSGCODE_MMOCHAT_C_5_3 = (MSGCODE_MMOCHAT_5_BASE + 4); // 查看装备信息
	public static final int MSGCODE_MMOCHAT_C_5_4 = (MSGCODE_MMOCHAT_5_BASE + 6); // 查看可用装备
	public static final int MSGCODE_MMOCHAT_C_5_5 = (MSGCODE_MMOCHAT_5_BASE + 8); // 卸下装备
	public static final int MSGCODE_MMOCHAT_C_5_7 = (MSGCODE_MMOCHAT_5_BASE + 12); // 查看装备信息(可能被其它玩家查看)
	public static final int MSGCODE_MMOCHAT_C_5_8 = (MSGCODE_MMOCHAT_5_BASE + 14); // 查看药品信息
	public static final int MSGCODE_MMOCHAT_C_5_9 = (MSGCODE_MMOCHAT_5_BASE + 16); // 查看材料信息
	public static final int MSGCODE_MMOCHAT_C_5_12 = (MSGCODE_MMOCHAT_5_BASE + 22); // 设置宠物休息
	public static final int MSGCODE_MMOCHAT_C_5_13 = (MSGCODE_MMOCHAT_5_BASE + 24); // 宠物加点
	public static final int MSGCODE_MMOCHAT_C_5_15 = (MSGCODE_MMOCHAT_5_BASE + 28); // 丟弃装备
	public static final int MSGCODE_MMOCHAT_C_5_16 = (MSGCODE_MMOCHAT_5_BASE + 30); // 人使用药品
	public static final int MSGCODE_MMOCHAT_C_5_17 = (MSGCODE_MMOCHAT_5_BASE + 32); // 丟弃药品
	public static final int MSGCODE_MMOCHAT_C_5_18 = (MSGCODE_MMOCHAT_5_BASE + 34); // 丟弃材料
	public static final int MSGCODE_MMOCHAT_C_5_19 = (MSGCODE_MMOCHAT_5_BASE + 36); // 宠物改名
	public static final int MSGCODE_MMOCHAT_C_5_20 = (MSGCODE_MMOCHAT_5_BASE + 38); // 喂宠物,打开物品列表
	public static final int MSGCODE_MMOCHAT_C_5_21 = (MSGCODE_MMOCHAT_5_BASE + 40); // 一键补蓝补血
	public static final int MSGCODE_MMOCHAT_C_5_22 = (MSGCODE_MMOCHAT_5_BASE + 42); // 查看我的道具信息
	public static final int MSGCODE_MMOCHAT_C_5_23 = (MSGCODE_MMOCHAT_5_BASE + 44); // 使用道具
	public static final int MSGCODE_MMOCHAT_C_5_24 = (MSGCODE_MMOCHAT_5_BASE + 46); // 丟弃道具
	public static final int MSGCODE_MMOCHAT_C_5_25 = (MSGCODE_MMOCHAT_5_BASE + 48); // 喂宠物品
	public static final int MSGCODE_MMOCHAT_C_5_26 = (MSGCODE_MMOCHAT_5_BASE + 50); // 喂宠道具
	public static final int MSGCODE_MMOCHAT_C_5_27 = (MSGCODE_MMOCHAT_5_BASE + 52); // 使用备用装备箱的装备
	public static final int MSGCODE_MMOCHAT_C_5_28 = (MSGCODE_MMOCHAT_5_BASE + 54); // 查看宠物列表
	public static final int MSGCODE_MMOCHAT_C_5_29 = (MSGCODE_MMOCHAT_5_BASE + 56); // 聊天中增加装备信息
	public static final int MSGCODE_MMOCHAT_S_5_29 = (MSGCODE_MMOCHAT_5_BASE + 57); // 聊天中增加装备信息
	// new package
	public static final int MSGCODE_MMOCHAT_S_5_1 = (MSGCODE_MMOCHAT_5_BASE + 1); // 下发包裹数据
	public static final int MSGCODE_MMOCHAT_C_5_6 = (MSGCODE_MMOCHAT_5_BASE + 10); // 使用指定格子的物品
	public static final int MSGCODE_MMOCHAT_C_5_10 = (MSGCODE_MMOCHAT_5_BASE + 18); // 查看宠物信息
	public static final int MSGCODE_MMOCHAT_S_5_10 = (MSGCODE_MMOCHAT_5_BASE + 19); // 返回宠物信息
	public static final int MSGCODE_MMOCHAT_C_5_11 = (MSGCODE_MMOCHAT_5_BASE + 20); // 设置宠物参战休息
	public static final int MSGCODE_MMOCHAT_C_5_14 = (MSGCODE_MMOCHAT_5_BASE + 26); // 丟弃宠物
	public static final int MSGCODE_MMOCHAT_S_5_14 = (MSGCODE_MMOCHAT_5_BASE + 27); // 下发丟弃宠物
	public static final int MSGCODE_MMOCHAT_C_5_30 = (MSGCODE_MMOCHAT_5_BASE + 58); // 喂宠物品
	public static final int MSGCODE_MMOCHAT_S_5_31 = (MSGCODE_MMOCHAT_5_BASE + 61); // 下发我的游戏币数量
	public static final int MSGCODE_MMOCHAT_C_5_32 = (MSGCODE_MMOCHAT_5_BASE + 62); // 丟弃指定格子的物品
	public static final int MSGCODE_MMOCHAT_C_5_33 = (MSGCODE_MMOCHAT_5_BASE + 64); // 移动包裹物品位置
	public static final int MSGCODE_MMOCHAT_C_5_34 = (MSGCODE_MMOCHAT_5_BASE + 66); // 整理包裹

	// 玩家信息 0x1500
	public static final int MSGCODE_MMOCHAT_C_6_1 = (MSGCODE_MMOCHAT_6_BASE); // 点击玩家执行操作
	public static final int MSGCODE_MMOCHAT_C_6_2 = (MSGCODE_MMOCHAT_6_BASE + 2); // 查看自己的角色信息
	public static final int MSGCODE_MMOCHAT_S_6_2 = (MSGCODE_MMOCHAT_6_BASE + 3); // 下发自己的角色信息
	public static final int MSGCODE_MMOCHAT_C_6_3 = (MSGCODE_MMOCHAT_6_BASE + 4); // 快捷操作
	public static final int MSGCODE_MMOCHAT_C_6_4 = (MSGCODE_MMOCHAT_6_BASE + 6); // 新手洗点
	public static final int MSGCODE_MMOCHAT_C_6_5 = (MSGCODE_MMOCHAT_6_BASE + 8); // 加属性点
	public static final int MSGCODE_MMOCHAT_C_6_6 = (MSGCODE_MMOCHAT_6_BASE + 10); // 查看技能
	public static final int MSGCODE_MMOCHAT_C_6_7 = (MSGCODE_MMOCHAT_6_BASE + 12); // 学习技能
	public static final int MSGCODE_MMOCHAT_S_6_8 = (MSGCODE_MMOCHAT_6_BASE + 15); // 开启自动遇怪
	public static final int MSGCODE_MMOCHAT_C_6_9 = (MSGCODE_MMOCHAT_6_BASE + 16); // 玩家显示设置
	public static final int MSGCODE_MMOCHAT_C_6_10 = (MSGCODE_MMOCHAT_6_BASE + 18); // 聊天频道设置
	public static final int MSGCODE_MMOCHAT_C_6_11 = (MSGCODE_MMOCHAT_6_BASE + 20); // 比武切磋设置
	public static final int MSGCODE_MMOCHAT_C_6_12 = (MSGCODE_MMOCHAT_6_BASE + 22); // 团队快捷操作
	public static final int MSGCODE_MMOCHAT_C_6_13 = (MSGCODE_MMOCHAT_6_BASE + 24); // 查看其它玩家信息
	public static final int MSGCODE_MMOCHAT_C_6_14 = (MSGCODE_MMOCHAT_6_BASE + 26); // 处理比武请求
	public static final int MSGCODE_MMOCHAT_C_6_15 = (MSGCODE_MMOCHAT_6_BASE + 28); // 双方上传比武意见
	public static final int MSGCODE_MMOCHAT_C_6_16 = (MSGCODE_MMOCHAT_6_BASE + 30); // 同屏人数设置
	public static final int MSGCODE_MMOCHAT_C_6_17 = (MSGCODE_MMOCHAT_6_BASE + 32); // 加天赋点
	public static final int MSGCODE_MMOCHAT_C_6_18 = (MSGCODE_MMOCHAT_6_BASE + 34); // 查看其它玩家的装备
	public static final int MSGCODE_MMOCHAT_C_6_19 = (MSGCODE_MMOCHAT_6_BASE + 36); // 发起强P
	public static final int MSGCODE_MMOCHAT_C_6_20 = (MSGCODE_MMOCHAT_6_BASE + 38); // 其它系统设置
	public static final int MSGCODE_MMOCHAT_C_6_21 = (MSGCODE_MMOCHAT_6_BASE + 40); // 查看称谓列表
	public static final int MSGCODE_MMOCHAT_C_6_22 = (MSGCODE_MMOCHAT_6_BASE + 42); // 设置称谓
	public static final int MSGCODE_MMOCHAT_C_6_23 = (MSGCODE_MMOCHAT_6_BASE + 44); // 通知服务端退出了充值界面
	public static final int MSGCODE_MMOCHAT_C_6_24 = (MSGCODE_MMOCHAT_6_BASE + 50); // 查找好友
	public static final int MSGCODE_MMOCHAT_C_6_25 = (MSGCODE_MMOCHAT_6_BASE + 52);// 修改心情
	public static final int MSGCODE_MMOCHAT_C_6_26 = (MSGCODE_MMOCHAT_6_BASE + 54);// 禁言10分钟

	// 交易 0x1600
	public static final int MSGCODE_MMOCHAT_C_7_2 = (MSGCODE_MMOCHAT_7_BASE + 2); // 点中交易项
	public static final int MSGCODE_MMOCHAT_C_7_3 = (MSGCODE_MMOCHAT_7_BASE + 4); // 给对方金钱
	public static final int MSGCODE_MMOCHAT_C_7_4 = (MSGCODE_MMOCHAT_7_BASE + 6); // 给对方装备
	public static final int MSGCODE_MMOCHAT_C_7_5 = (MSGCODE_MMOCHAT_7_BASE + 8); // 取消给对方装备
	public static final int MSGCODE_MMOCHAT_C_7_6 = (MSGCODE_MMOCHAT_7_BASE + 10); // 给对方药品
	public static final int MSGCODE_MMOCHAT_C_7_7 = (MSGCODE_MMOCHAT_7_BASE + 12); // 给对方材料
	public static final int MSGCODE_MMOCHAT_C_7_8 = (MSGCODE_MMOCHAT_7_BASE + 14); // 锁定交易物品
	public static final int MSGCODE_MMOCHAT_C_7_9 = (MSGCODE_MMOCHAT_7_BASE + 16); // 查看交易物品信息
	public static final int MSGCODE_MMOCHAT_C_7_11 = (MSGCODE_MMOCHAT_7_BASE + 20); // 给对方宠物
	public static final int MSGCODE_MMOCHAT_C_7_12 = (MSGCODE_MMOCHAT_7_BASE + 22); // 取消给对方宠物
	public static final int MSGCODE_MMOCHAT_C_7_13 = (MSGCODE_MMOCHAT_7_BASE + 24); // 给对方道具
	public static final int MSGCODE_MMOCHAT_C_7_14 = (MSGCODE_MMOCHAT_7_BASE + 26); // 取消给对方道具
	// new deal
	public static final int MSGCODE_MMOCHAT_C_7_1 = (MSGCODE_MMOCHAT_7_BASE); // 中止交易
	public static final int MSGCODE_MMOCHAT_C_7_10 = (MSGCODE_MMOCHAT_7_BASE + 18); // 同意交易
	public static final int MSGCODE_MMOCHAT_S_7_15 = (MSGCODE_MMOCHAT_7_BASE + 29); // 下发交易界面
	public static final int MSGCODE_MMOCHAT_C_7_16 = (MSGCODE_MMOCHAT_7_BASE + 30); // 上传增加交易物品
	public static final int MSGCODE_MMOCHAT_S_7_17 = (MSGCODE_MMOCHAT_7_BASE + 33); // 下发增加交易物品
	public static final int MSGCODE_MMOCHAT_S_7_18 = (MSGCODE_MMOCHAT_7_BASE + 35); // 交易结束
	public static final int MSGCODE_MMOCHAT_S_7_19 = (MSGCODE_MMOCHAT_7_BASE + 37); // 通知一方，对方已经同意交易
	public static final int MSGCODE_MMOCHAT_C_7_20 = (MSGCODE_MMOCHAT_7_BASE + 38); // 交易给对方金钱
	public static final int MSGCODE_MMOCHAT_S_7_21 = (MSGCODE_MMOCHAT_7_BASE + 41); // 下发对方交易出金钱
	public static final int MSGCODE_MMOCHAT_C_7_22 = (MSGCODE_MMOCHAT_7_BASE + 42); // 上传增加交易宠物
	public static final int MSGCODE_MMOCHAT_C_7_23 = (MSGCODE_MMOCHAT_7_BASE + 44); // 申请远程交易
	public static final int MSGCODE_MMOCHAT_C_7_24 = (MSGCODE_MMOCHAT_7_BASE + 46); // 拒绝了远程交易

	// 组队 0x1700
	public static final int MSGCODE_MMOCHAT_C_8_1 = (MSGCODE_MMOCHAT_8_BASE); // 打开组队面板
	public static final int MSGCODE_MMOCHAT_C_8_4 = (MSGCODE_MMOCHAT_8_BASE + 6); // 离队
	public static final int MSGCODE_MMOCHAT_C_8_5 = (MSGCODE_MMOCHAT_8_BASE + 8); // 踢出
	public static final int MSGCODE_MMOCHAT_C_8_6 = (MSGCODE_MMOCHAT_8_BASE + 10);// 查看入队请求
	public static final int MSGCODE_MMOCHAT_C_8_7 = (MSGCODE_MMOCHAT_8_BASE + 12); // 转让队长
	public static final int MSGCODE_MMOCHAT_C_8_8 = (MSGCODE_MMOCHAT_8_BASE + 14); // 处理入队请求
	public static final int MSGCODE_MMOCHAT_S_8_9 = (MSGCODE_MMOCHAT_8_BASE + 15); // 下发组队状态
	public static final int MSGCODE_MMOCHAT_S_8_10 = (MSGCODE_MMOCHAT_8_BASE + 17); // 通知队长有入队请求
	public static final int MSGCODE_MMOCHAT_C_8_11 = (MSGCODE_MMOCHAT_8_BASE + 18); // 处理组队邀请

	// NPC 0x1800
	public static final int MSGCODE_MMOCHAT_C_9_1 = (MSGCODE_MMOCHAT_9_BASE); // NPC固有功能,如改造装备
	public static final int MSGCODE_MMOCHAT_C_9_2 = (MSGCODE_MMOCHAT_9_BASE + 2); // 购买NPC药品
	public static final int MSGCODE_MMOCHAT_C_9_3 = (MSGCODE_MMOCHAT_9_BASE + 4); // 购买武器-大类界面
	public static final int MSGCODE_MMOCHAT_C_9_4 = (MSGCODE_MMOCHAT_9_BASE + 6); // 购买武器
	public static final int MSGCODE_MMOCHAT_C_9_5 = (MSGCODE_MMOCHAT_9_BASE + 8); // 回收物品
	public static final int MSGCODE_MMOCHAT_C_9_6 = (MSGCODE_MMOCHAT_9_BASE + 10); // 游戏帮助
	public static final int MSGCODE_MMOCHAT_C_9_7 = (MSGCODE_MMOCHAT_9_BASE + 12); // 收徒弟确认
	public static final int MSGCODE_MMOCHAT_C_9_8 = (MSGCODE_MMOCHAT_9_BASE + 14); // 收徒弟时，徒弟的意愿
	public static final int MSGCODE_MMOCHAT_C_9_9 = (MSGCODE_MMOCHAT_9_BASE + 16); // 徒弟脱离师傅
	public static final int MSGCODE_MMOCHAT_C_9_10 = (MSGCODE_MMOCHAT_9_BASE + 18); // 踢除徒弟
	public static final int MSGCODE_MMOCHAT_S_9_11 = (MSGCODE_MMOCHAT_9_BASE + 21); // 打开回收物品界面
	public static final int MSGCODE_MMOCHAT_C_9_12 = (MSGCODE_MMOCHAT_9_BASE + 22); // 回收指定格子物品
	public static final int MSGCODE_MMOCHAT_C_9_13 = (MSGCODE_MMOCHAT_9_BASE + 24); // 积分兑换元宝
	public static final int MSGCODE_MMOCHAT_C_9_14 = (MSGCODE_MMOCHAT_9_BASE + 26); // 结婚确认
	public static final int MSGCODE_MMOCHAT_C_9_15 = (MSGCODE_MMOCHAT_9_BASE + 28); // 结婚时另一伴的意愿
	public static final int MSGCODE_MMOCHAT_C_9_16 = (MSGCODE_MMOCHAT_9_BASE + 30); // 申请离婚
	public static final int MSGCODE_MMOCHAT_C_9_17 = (MSGCODE_MMOCHAT_9_BASE + 32); // 查看装备满属性
	public static final int MSGCODE_MMOCHAT_C_9_18 = (MSGCODE_MMOCHAT_9_BASE + 34); // 查看装备满属性
	public static final int MSGCODE_MMOCHAT_C_9_19 = (MSGCODE_MMOCHAT_9_BASE + 36); // 提升亲密度
	public static final int MSGCODE_MMOCHAT_C_9_20 = (MSGCODE_MMOCHAT_9_BASE + 38); // 查看道行子榜
	public static final int MSGCODE_MMOCHAT_C_9_21 = (MSGCODE_MMOCHAT_9_BASE + 40); // 转生选项
	public static final int MSGCODE_MMOCHAT_C_9_22 = (MSGCODE_MMOCHAT_9_BASE + 42); // 选择仙魔
	public static final int MSGCODE_MMOCHAT_C_9_23 = (MSGCODE_MMOCHAT_9_BASE + 44); // 执行转生操作
	public static final int MSGCODE_MMOCHAT_C_9_24 = (MSGCODE_MMOCHAT_9_BASE + 46); // 查看历届试道王者
	public static final int MSGCODE_MMOCHAT_C_9_25 = (MSGCODE_MMOCHAT_9_BASE + 48); // 查看历届试道王者
	public static final int MSGCODE_MMOCHAT_C_9_26 = (MSGCODE_MMOCHAT_9_BASE + 50); // 查看历届出类拔萃
	public static final int MSGCODE_MMOCHAT_C_9_27 = (MSGCODE_MMOCHAT_9_BASE + 52); // 查看历届帮派大战
	public static final int MSGCODE_MMOCHAT_C_9_28 = (MSGCODE_MMOCHAT_9_BASE + 54); // 查看转生装备满属
	public static final int MSGCODE_MMOCHAT_C_9_29 = (MSGCODE_MMOCHAT_9_BASE + 56); // 查看转生装备满属
	public static final int MSGCODE_MMOCHAT_C_9_30 = (MSGCODE_MMOCHAT_9_BASE + 58); // 人物仙魔转换
	public static final int MSGCODE_MMOCHAT_C_9_31 = (MSGCODE_MMOCHAT_9_BASE + 60); // 宠物转生
	public static final int MSGCODE_MMOCHAT_C_9_32 = (MSGCODE_MMOCHAT_9_BASE + 62); // 查看历届跨服试道王者
	public static final int MSGCODE_MMOCHAT_C_9_33 = (MSGCODE_MMOCHAT_9_BASE + 64); // 查看历届跨服试道王者
	public static final int MSGCODE_MMOCHAT_C_9_34 = (MSGCODE_MMOCHAT_9_BASE + 66); // 威望兑换列表
	public static final int MSGCODE_MMOCHAT_C_9_35 = (MSGCODE_MMOCHAT_9_BASE + 68); // 威望兑换经验
	public static final int MSGCODE_MMOCHAT_C_9_36 = (MSGCODE_MMOCHAT_9_BASE + 70); // 威望兑换道行
	public static final int MSGCODE_MMOCHAT_C_9_37 = (MSGCODE_MMOCHAT_9_BASE + 72); // 威望兑换金钱袋
	public static final int MSGCODE_MMOCHAT_C_9_38 = (MSGCODE_MMOCHAT_9_BASE + 74); // 威望兑换神兽
	public static final int MSGCODE_MMOCHAT_C_9_39 = (MSGCODE_MMOCHAT_9_BASE + 76); // 威望兑换8级浮云
	public static final int MSGCODE_MMOCHAT_C_9_40 = (MSGCODE_MMOCHAT_9_BASE + 78); // 威望竞猜
	public static final int MSGCODE_MMOCHAT_C_9_41 = (MSGCODE_MMOCHAT_9_BASE + 80); // 认主系统
	public static final int MSGCODE_MMOCHAT_C_9_42 = (MSGCODE_MMOCHAT_9_BASE + 82); // 宠物认主
	public static final int MSGCODE_MMOCHAT_C_9_43 = (MSGCODE_MMOCHAT_9_BASE + 84); // 宠物解除认主
	public static final int MSGCODE_MMOCHAT_C_9_44 = (MSGCODE_MMOCHAT_9_BASE + 86); // 创建钱庄密码
	public static final int MSGCODE_MMOCHAT_C_9_45 = (MSGCODE_MMOCHAT_9_BASE + 88); // 修改钱庄密码
	public static final int MSGCODE_MMOCHAT_C_9_46 = (MSGCODE_MMOCHAT_9_BASE + 90); // 清除密码
	public static final int MSGCODE_MMOCHAT_C_9_47 = (MSGCODE_MMOCHAT_9_BASE + 92); // 验证钱庄密码
	public static final int MSGCODE_MMOCHAT_C_9_48 = (MSGCODE_MMOCHAT_9_BASE + 94); // 结拜
	public static final int MSGCODE_MMOCHAT_C_9_49 = (MSGCODE_MMOCHAT_9_BASE + 96); // 取消结拜
	public static final int MSGCODE_MMOCHAT_C_9_50 = (MSGCODE_MMOCHAT_9_BASE + 98); // 更换帮派任务
	public static final int MSGCODE_MMOCHAT_C_9_51 = (MSGCODE_MMOCHAT_9_BASE + 100); // 查看秘籍技能
	public static final int MSGCODE_MMOCHAT_C_9_52 = (MSGCODE_MMOCHAT_9_BASE + 102); // 升级秘籍技能
	public static final int MSGCODE_MMOCHAT_C_9_53 = (MSGCODE_MMOCHAT_9_BASE + 104); // 训练熟练度
	public static final int MSGCODE_MMOCHAT_C_9_54 = (MSGCODE_MMOCHAT_9_BASE + 106); // 竞技点兑换称号
	public static final int MSGCODE_MMOCHAT_C_9_55 = (MSGCODE_MMOCHAT_9_BASE + 108); // 查看生活技能
	public static final int MSGCODE_MMOCHAT_C_9_56 = (MSGCODE_MMOCHAT_9_BASE + 110);// 练丹术
	public static final int MSGCODE_MMOCHAT_C_9_57 = (MSGCODE_MMOCHAT_9_BASE + 112);// 升级炼丹术
	public static final int MSGCODE_MMOCHAT_C_9_58 = (MSGCODE_MMOCHAT_9_BASE + 114);// 修炼炼丹术
	public static final int MSGCODE_MMOCHAT_C_9_59 = (MSGCODE_MMOCHAT_9_BASE + 116);// 开始炼丹
	public static final int MSGCODE_MMOCHAT_C_9_60 = (MSGCODE_MMOCHAT_9_BASE + 118);// 领取丹药
	public static final int MSGCODE_MMOCHAT_C_9_61 = (MSGCODE_MMOCHAT_9_BASE + 120); // 查看法伤、物伤、速度子榜
	public static final int MSGCODE_MMOCHAT_C_9_62 = (MSGCODE_MMOCHAT_9_BASE + 122);// 使用寻怪符
	public static final int MSGCODE_MMOCHAT_C_9_63 = (MSGCODE_MMOCHAT_9_BASE + 124);// 武魂系统介绍
	public static final int MSGCODE_MMOCHAT_C_9_64 = (MSGCODE_MMOCHAT_9_BASE + 126);// 威望抽奖
	public static final int MSGCODE_MMOCHAT_C_9_65 = (MSGCODE_MMOCHAT_9_BASE + 128);// 设置跨服宣言
	public static final int MSGCODE_MMOCHAT_C_9_66 = (MSGCODE_MMOCHAT_9_BASE + 130);// 设置武道宣言

	// 好友 0x1900
	public static final int MSGCODE_MMOCHAT_S_10_1 = (MSGCODE_MMOCHAT_10_BASE + 1); // 下发好友列表
	public static final int MSGCODE_MMOCHAT_C_10_2 = (MSGCODE_MMOCHAT_10_BASE + 2); // 查看最近联系人
	public static final int MSGCODE_MMOCHAT_S_10_2 = (MSGCODE_MMOCHAT_10_BASE + 3); // 下发最近联系人
	public static final int MSGCODE_MMOCHAT_C_10_3 = (MSGCODE_MMOCHAT_10_BASE + 4); // 通过名字查找方式添加好友
	public static final int MSGCODE_MMOCHAT_C_10_4 = (MSGCODE_MMOCHAT_10_BASE + 6); // 点对点私聊
	public static final int MSGCODE_MMOCHAT_S_10_4 = (MSGCODE_MMOCHAT_10_BASE + 7); // 下发私聊消息
	public static final int MSGCODE_MMOCHAT_C_10_5 = (MSGCODE_MMOCHAT_10_BASE + 8); // 删除好友
	public static final int MSGCODE_MMOCHAT_C_10_6 = (MSGCODE_MMOCHAT_10_BASE + 10); // 加为好友
	public static final int MSGCODE_MMOCHAT_C_10_7 = (MSGCODE_MMOCHAT_10_BASE + 12); // 清空临时好友列表
	public static final int MSGCODE_MMOCHAT_C_10_8 = (MSGCODE_MMOCHAT_10_BASE + 14); // 从临时好友拉到黑名单
	public static final int MSGCODE_MMOCHAT_C_10_9 = (MSGCODE_MMOCHAT_10_BASE + 16);// 从黑名单删除
	public static final int MSGCODE_MMOCHAT_C_10_10 = (MSGCODE_MMOCHAT_10_BASE + 18); // 清空黑名单
	public static final int MSGCODE_MMOCHAT_S_10_11 = (MSGCODE_MMOCHAT_10_BASE + 21); // 下发增加好友
	public static final int MSGCODE_MMOCHAT_S_10_12 = (MSGCODE_MMOCHAT_10_BASE + 23); // 更新好友关注状态
	public static final int MSGCODE_MMOCHAT_S_10_13 = (MSGCODE_MMOCHAT_10_BASE + 25); // 下发拉到黑名单
	public static final int MSGCODE_MMOCHAT_S_10_14 = (MSGCODE_MMOCHAT_10_BASE + 27); // 从黑名单中删除
	public static final int MSGCODE_MMOCHAT_S_10_15 = (MSGCODE_MMOCHAT_10_BASE + 29); // 清空黑名单
	public static final int MSGCODE_MMOCHAT_S_10_16 = (MSGCODE_MMOCHAT_10_BASE + 31); // 更新在线离线情况
	public static final int MSGCODE_MMOCHAT_C_10_17 = (MSGCODE_MMOCHAT_10_BASE + 32); // 飞到好友身边
	public static final int MSGCODE_MMOCHAT_C_10_18 = (MSGCODE_MMOCHAT_10_BASE + 34); // 取消/关注好友
	public static final int MSGCODE_MMOCHAT_C_10_19 = (MSGCODE_MMOCHAT_10_BASE + 36); // 好友设置
	public static final int MSGCODE_MMOCHAT_S_10_20 = (MSGCODE_MMOCHAT_10_BASE + 39); // 下发加好友请求(可用于任何好友tlv消息下发)
	public static final int MSGCODE_MMOCHAT_C_10_21 = (MSGCODE_MMOCHAT_10_BASE + 40); // 加好友请求的处理

	// 聊天系统 0x1a00
	public static final int MSGCODE_MMOCHAT_C_11_1 = (MSGCODE_MMOCHAT_11_BASE); // 发布场景聊天
	public static final int MSGCODE_MMOCHAT_S_11_1 = (MSGCODE_MMOCHAT_11_BASE + 1); // 下发场景聊天
	public static final int MSGCODE_MMOCHAT_C_11_2 = (MSGCODE_MMOCHAT_11_BASE + 2); // 发布全服聊天
	public static final int MSGCODE_MMOCHAT_S_11_2 = (MSGCODE_MMOCHAT_11_BASE + 3); // 下发全服聊天
	public static final int MSGCODE_MMOCHAT_C_11_3 = (MSGCODE_MMOCHAT_11_BASE + 4); // 提交客服问题
	public static final int MSGCODE_MMOCHAT_C_11_4 = (MSGCODE_MMOCHAT_11_BASE + 6); // 玩家反馈客服的回复
	public static final int MSGCODE_MMOCHAT_C_11_5 = (MSGCODE_MMOCHAT_11_BASE + 8); // 发布队伍聊天
	public static final int MSGCODE_MMOCHAT_S_11_5 = (MSGCODE_MMOCHAT_11_BASE + 9); // 下发队伍聊天
	public static final int MSGCODE_MMOCHAT_SEND_SYSTEMMSG_TO_OLDSERVER = (MSGCODE_MMOCHAT_11_BASE + 16);
	public static final int MSGCODE_MMOCHAT_C_11_6 = (MSGCODE_MMOCHAT_11_BASE + 18); // 线下出售物品

	// 仓库 0x1b00
	public static final int MSGCODE_MMOCHAT_C_12_1 = (MSGCODE_MMOCHAT_12_BASE);// 存放物品
	public static final int MSGCODE_MMOCHAT_C_12_2 = (MSGCODE_MMOCHAT_12_BASE + 2);// 取回物品
	public static final int MSGCODE_MMOCHAT_C_12_3 = (MSGCODE_MMOCHAT_12_BASE + 4);// 存放游戏币
	public static final int MSGCODE_MMOCHAT_C_12_4 = (MSGCODE_MMOCHAT_12_BASE + 6);// 取回游戏币
	public static final int MSGCODE_MMOCHAT_C_12_5 = (MSGCODE_MMOCHAT_12_BASE + 8); // 存放装备
	public static final int MSGCODE_MMOCHAT_C_12_6 = (MSGCODE_MMOCHAT_12_BASE + 10); // 取回装备
	public static final int MSGCODE_MMOCHAT_C_12_7 = (MSGCODE_MMOCHAT_12_BASE + 12); // 存放药品
	public static final int MSGCODE_MMOCHAT_C_12_8 = (MSGCODE_MMOCHAT_12_BASE + 14); // 取回药品
	public static final int MSGCODE_MMOCHAT_C_12_9 = (MSGCODE_MMOCHAT_12_BASE + 16); // 存放材料
	public static final int MSGCODE_MMOCHAT_C_12_10 = (MSGCODE_MMOCHAT_12_BASE + 18); // 取回材料
	public static final int MSGCODE_MMOCHAT_C_12_11 = (MSGCODE_MMOCHAT_12_BASE + 20); // 存放宠物
	public static final int MSGCODE_MMOCHAT_C_12_12 = (MSGCODE_MMOCHAT_12_BASE + 22); // 取回宠物
	public static final int MSGCODE_MMOCHAT_C_12_13 = (MSGCODE_MMOCHAT_12_BASE + 23); // 存放道具
	public static final int MSGCODE_MMOCHAT_C_12_14 = (MSGCODE_MMOCHAT_12_BASE + 24); // 取回道具
	// new store
	public static final int MSGCODE_MMOCHAT_S_12_15 = (MSGCODE_MMOCHAT_12_BASE + 27); // 打开存放包裹
	public static final int MSGCODE_MMOCHAT_C_12_17 = (MSGCODE_MMOCHAT_12_BASE + 30); // 存入物品
	public static final int MSGCODE_MMOCHAT_S_12_18 = (MSGCODE_MMOCHAT_12_BASE + 33); // 打开仓库
	public static final int MSGCODE_MMOCHAT_C_12_19 = (MSGCODE_MMOCHAT_12_BASE + 34); // 取回物品
	public static final int MSGCODE_MMOCHAT_C_12_21 = (MSGCODE_MMOCHAT_12_BASE + 38); // 存入金钱
	public static final int MSGCODE_MMOCHAT_C_12_22 = (MSGCODE_MMOCHAT_12_BASE + 40); // 取出金钱
	public static final int MSGCODE_MMOCHAT_S_12_23 = (MSGCODE_MMOCHAT_12_BASE + 43); // 打开存放宠物面板
	public static final int MSGCODE_MMOCHAT_C_12_24 = (MSGCODE_MMOCHAT_12_BASE + 44); // 存入宠物
	public static final int MSGCODE_MMOCHAT_C_12_25 = (MSGCODE_MMOCHAT_12_BASE + 46); // 取回宠物
	public static final int MSGCODE_MMOCHAT_C_12_26 = (MSGCODE_MMOCHAT_12_BASE + 48); // 整理仓库

	// 商店 0x1c00
	public static final int MSGCODE_MMOCHAT_C_13_1 = (MSGCODE_MMOCHAT_13_BASE);// 购买杂货
	public static final int MSGCODE_MMOCHAT_C_13_2 = (MSGCODE_MMOCHAT_13_BASE + 2); // 查看杂货信息
	public static final int MSGCODE_MMOCHAT_S_13_3 = (MSGCODE_MMOCHAT_13_BASE + 5); // 下发商城tlv
	public static final int MSGCODE_MMOCHAT_C_13_4 = (MSGCODE_MMOCHAT_13_BASE + 6); // 打开子商城
	public static final int MSGCODE_MMOCHAT_S_13_4 = (MSGCODE_MMOCHAT_13_BASE + 7); // 打开子商城
	public static final int MSGCODE_MMOCHAT_C_13_5 = (MSGCODE_MMOCHAT_13_BASE + 8); // 使用元宝购买物品
	public static final int MSGCODE_MMOCHAT_S_13_5 = (MSGCODE_MMOCHAT_13_BASE + 9); // 购买物品回复
	public static final int MSGCODE_MMOCHAT_C_13_6 = (MSGCODE_MMOCHAT_13_BASE + 10); // 兑换元宝
	public static final int MSGCODE_MMOCHAT_C_13_7 = (MSGCODE_MMOCHAT_13_BASE + 12); // 使用改名卡
	public static final int MSGCODE_MMOCHAT_C_13_8 = (MSGCODE_MMOCHAT_13_BASE + 14); // 使用远程钱庄
	public static final int MSGCODE_MMOCHAT_C_13_9 = (MSGCODE_MMOCHAT_13_BASE + 16); // 使用传送符
	public static final int MSGCODE_MMOCHAT_C_13_10 = (MSGCODE_MMOCHAT_13_BASE + 18); // 使用金钱购买物品
	public static final int MSGCODE_MMOCHAT_C_13_11 = (MSGCODE_MMOCHAT_13_BASE + 20); // 领取神行法宝
	public static final int MSGCODE_MMOCHAT_C_13_12 = (MSGCODE_MMOCHAT_13_BASE + 22); // 升级神行法宝
	public static final int MSGCODE_MMOCHAT_S_13_13 = (MSGCODE_MMOCHAT_13_BASE + 25); // 下发直付订单信息
	public static final int MSGCODE_MMOCHAT_C_13_14 = (MSGCODE_MMOCHAT_13_BASE + 26); // 打开充值元宝列表
	public static final int MSGCODE_MMOCHAT_C_13_15 = (MSGCODE_MMOCHAT_13_BASE + 28); // 抢购折扣物品
	public static final int MSGCODE_MMOCHAT_C_13_16 = (MSGCODE_MMOCHAT_13_BASE + 30); // 充值抽奖
	public static final int MSGCODE_MMOCHAT_C_13_17 = (MSGCODE_MMOCHAT_13_BASE + 32); // 使用奖券兑换物品
	public static final int MSGCODE_MMOCHAT_C_13_18 = (MSGCODE_MMOCHAT_13_BASE + 34); // 打开兑换子目录
	public static final int MSGCODE_MMOCHAT_C_13_19 = (MSGCODE_MMOCHAT_13_BASE + 36); // 使用奖券抽奖特品
	public static final int MSGCODE_MMOCHAT_C_13_20 = (MSGCODE_MMOCHAT_13_BASE + 38); // 打开抽奖子目录
	public static final int MSGCODE_MMOCHAT_C_13_21 = (MSGCODE_MMOCHAT_13_BASE + 40); // 充值排行活动抽奖(临时)
	public static final int MSGCODE_MMOCHAT_C_13_22 = (MSGCODE_MMOCHAT_13_BASE + 42); // 变更门派
	public static final int MSGCODE_MMOCHAT_C_13_23 = (MSGCODE_MMOCHAT_13_BASE + 44);// 领取在线奖励
	public static final int MSGCODE_MMOCHAT_C_13_24 = (MSGCODE_MMOCHAT_13_BASE + 46);// 出借找回及线下交易
	public static final int MSGCODE_MMOCHAT_C_13_25 = (MSGCODE_MMOCHAT_13_BASE + 48);// 出借找回
	public static final int MSGCODE_MMOCHAT_C_13_26 = (MSGCODE_MMOCHAT_13_BASE + 50);// 查看刷道比赛
	public static final int MSGCODE_MMOCHAT_C_13_27 = (MSGCODE_MMOCHAT_13_BASE + 52);// 即时型抽奖活动抽奖
	public static final int MSGCODE_MMOCHAT_C_13_28 = (MSGCODE_MMOCHAT_13_BASE + 54);// 查看玩家系统
	public static final int MSGCODE_MMOCHAT_C_13_29 = (MSGCODE_MMOCHAT_13_BASE + 56);// 查看新闻详情
	public static final int MSGCODE_MMOCHAT_C_13_30 = (MSGCODE_MMOCHAT_13_BASE + 58);// 新闻分类
	public static final int MSGCODE_MMOCHAT_C_13_31 = (MSGCODE_MMOCHAT_13_BASE + 60);// 查看录像
	public static final int MSGCODE_MMOCHAT_C_13_32 = (MSGCODE_MMOCHAT_13_BASE + 62);// 查看录像
	public static final int MSGCODE_MMOCHAT_C_13_33 = (MSGCODE_MMOCHAT_13_BASE + 64);// 出借找回
	public static final int MSGCODE_MMOCHAT_C_13_34 = (MSGCODE_MMOCHAT_13_BASE + 66);// 根据出借记录找回

	// 装备改造 0x1d00
	public static final int MSGCODE_MMOCHAT_C_14_1 = (MSGCODE_MMOCHAT_14_BASE);// 升级装备
	public static final int MSGCODE_MMOCHAT_C_14_2 = (MSGCODE_MMOCHAT_14_BASE + 2); // 查看升级武器
	public static final int MSGCODE_MMOCHAT_C_14_3 = (MSGCODE_MMOCHAT_14_BASE + 4); // 开始升级装备
	public static final int MSGCODE_MMOCHAT_C_14_4 = (MSGCODE_MMOCHAT_14_BASE + 6);// 装备精炼
	public static final int MSGCODE_MMOCHAT_C_14_5 = (MSGCODE_MMOCHAT_14_BASE + 8);// 查看开启潜能
	public static final int MSGCODE_MMOCHAT_C_14_6 = (MSGCODE_MMOCHAT_14_BASE + 10);// 查看属性重生
	public static final int MSGCODE_MMOCHAT_C_14_7 = (MSGCODE_MMOCHAT_14_BASE + 12);// 查看属性强化
	public static final int MSGCODE_MMOCHAT_C_14_8 = (MSGCODE_MMOCHAT_14_BASE + 14);// 开启潜能
	public static final int MSGCODE_MMOCHAT_C_14_9 = (MSGCODE_MMOCHAT_14_BASE + 16); // 属性重生
	public static final int MSGCODE_MMOCHAT_C_14_10 = (MSGCODE_MMOCHAT_14_BASE + 18); // 属性强化
	public static final int MSGCODE_MMOCHAT_S_14_11 = (MSGCODE_MMOCHAT_14_BASE + 21); // 打开装备制作界面
	public static final int MSGCODE_MMOCHAT_C_14_12 = (MSGCODE_MMOCHAT_14_BASE + 22); // 开始制作界面
	public static final int MSGCODE_MMOCHAT_S_14_12 = (MSGCODE_MMOCHAT_14_BASE + 23); // 制作出错
	public static final int MSGCODE_MMOCHAT_C_14_13 = (MSGCODE_MMOCHAT_14_BASE + 24); // 确认无混沌的高改

	// 帮派 0x1e00
	public static final int MSGCODE_MMOCHAT_C_15_1 = (MSGCODE_MMOCHAT_15_BASE);// 创建帮派
	public static final int MSGCODE_MMOCHAT_S_15_2 = (MSGCODE_MMOCHAT_15_BASE + 3);// 查看我的帮派
	public static final int MSGCODE_MMOCHAT_C_15_3 = (MSGCODE_MMOCHAT_15_BASE + 4);// 修改帮派公告
	public static final int MSGCODE_MMOCHAT_C_15_4 = (MSGCODE_MMOCHAT_15_BASE + 6);// 查看指定页的帮派成员列表
	public static final int MSGCODE_MMOCHAT_S_15_4 = (MSGCODE_MMOCHAT_15_BASE + 7);// 下发指定页的帮派成员列表
	public static final int MSGCODE_MMOCHAT_C_15_5 = (MSGCODE_MMOCHAT_15_BASE + 8);// 向在线帮众群发消息
	public static final int MSGCODE_MMOCHAT_C_15_6 = (MSGCODE_MMOCHAT_15_BASE + 10); // 踢出帮派
	public static final int MSGCODE_MMOCHAT_C_15_7 = (MSGCODE_MMOCHAT_15_BASE + 12); // 设置帮派职位
	public static final int MSGCODE_MMOCHAT_C_15_8 = (MSGCODE_MMOCHAT_15_BASE + 14); // 对单人进行入帮审批
	public static final int MSGCODE_MMOCHAT_C_15_9 = (MSGCODE_MMOCHAT_15_BASE + 16); // 对所有申请人同时审批
	public static final int MSGCODE_MMOCHAT_S_15_10 = (MSGCODE_MMOCHAT_15_BASE + 19); // 更新帮派申请人列表
	public static final int MSGCODE_MMOCHAT_C_15_11 = (MSGCODE_MMOCHAT_15_BASE + 20); // 退出帮派
	public static final int MSGCODE_MMOCHAT_S_15_12 = (MSGCODE_MMOCHAT_15_BASE + 23); // 当前指定页的帮派列表
	public static final int MSGCODE_MMOCHAT_C_15_13 = (MSGCODE_MMOCHAT_15_BASE + 24); // 申请加入指定ID的帮派
	public static final int MSGCODE_MMOCHAT_C_15_14 = (MSGCODE_MMOCHAT_15_BASE + 26); // 请求指定页的帮派列表
	public static final int MSGCODE_MMOCHAT_C_15_15 = (MSGCODE_MMOCHAT_15_BASE + 28); // 进入帮派大乱斗场地
	public static final int MSGCODE_MMOCHAT_C_15_16 = (MSGCODE_MMOCHAT_15_BASE + 30); // 查看帮派技能介绍
	public static final int MSGCODE_MMOCHAT_C_15_17 = (MSGCODE_MMOCHAT_15_BASE + 32); // 帮主研发技能
	public static final int MSGCODE_MMOCHAT_C_15_18 = (MSGCODE_MMOCHAT_15_BASE + 34); // 确认研发技能
	public static final int MSGCODE_MMOCHAT_C_15_19 = (MSGCODE_MMOCHAT_15_BASE + 36); // 成员学习技能
	public static final int MSGCODE_MMOCHAT_C_15_20 = (MSGCODE_MMOCHAT_15_BASE + 38); // 确认学习技能
	public static final int MSGCODE_MMOCHAT_C_15_21 = (MSGCODE_MMOCHAT_15_BASE + 40); // 升级帮派
	public static final int MSGCODE_MMOCHAT_C_15_22 = (MSGCODE_MMOCHAT_15_BASE + 42); // 查看我的帮派技能
	public static final int MSGCODE_MMOCHAT_C_15_23 = (MSGCODE_MMOCHAT_15_BASE + 44); // 提取帮派资金

	// 战队 0x1f00
	public static final int MSGCODE_MMOCHAT_C_16_1 = (MSGCODE_MMOCHAT_16_BASE);// 创建战队

	// 赌场 0x2000
	public static final int MSGCODE_MMOCHAT_C_17_2 = (MSGCODE_MMOCHAT_17_BASE + 2);// 关闭赌盘界面
	public static final int MSGCODE_MMOCHAT_C_17_3 = (MSGCODE_MMOCHAT_17_BASE + 4);// 上传压注数据
	public static final int MSGCODE_MMOCHAT_C_17_4 = (MSGCODE_MMOCHAT_17_BASE + 6);// 请求刷新玩家压注数
	public static final int MSGCODE_MMOCHAT_S_17_5 = (MSGCODE_MMOCHAT_17_BASE + 9);// 下发赌场基本数据(赔率，当前压注状态，玩家压注数，我的压注数)
	public static final int MSGCODE_MMOCHAT_S_17_7 = (MSGCODE_MMOCHAT_17_BASE + 13);// 下发比赛数据

	// 元宝交易 0x2100
	public static final int MSGCODE_MMOCHAT_C_18_1 = (MSGCODE_MMOCHAT_18_BASE); // 创建元宝交易订单
	public static final int MSGCODE_MMOCHAT_S_18_2 = (MSGCODE_MMOCHAT_18_BASE + 3); // 下发元宝交易界面
	public static final int MSGCODE_MMOCHAT_C_18_3 = (MSGCODE_MMOCHAT_18_BASE + 4); // 购买元宝
	public static final int MSGCODE_MMOCHAT_C_18_4 = (MSGCODE_MMOCHAT_18_BASE + 6); // 出售元宝
	public static final int MSGCODE_MMOCHAT_C_18_5 = (MSGCODE_MMOCHAT_18_BASE + 8); // 查看指定页的元宝交易界面
	public static final int MSGCODE_MMOCHAT_C_18_6 = (MSGCODE_MMOCHAT_18_BASE + 10); // 取出账户元宝
	public static final int MSGCODE_MMOCHAT_C_18_7 = (MSGCODE_MMOCHAT_18_BASE + 12); // 取出账户金钱
	public static final int MSGCODE_MMOCHAT_C_18_8 = (MSGCODE_MMOCHAT_18_BASE + 14); // 撤消订单

	// 玩家商店0x2200
	public static final int MSGCODE_MMOCHAT_C_19_1 = (MSGCODE_MMOCHAT_19_BASE); // 查看指定页、指定类型的商店列表
	public static final int MSGCODE_MMOCHAT_S_19_1 = (MSGCODE_MMOCHAT_19_BASE + 1); // 下发指定页的商店列表
	public static final int MSGCODE_MMOCHAT_C_19_2 = (MSGCODE_MMOCHAT_19_BASE + 2); // 查看指定ID、指定柜台的商店信息
	public static final int MSGCODE_MMOCHAT_S_19_2 = (MSGCODE_MMOCHAT_19_BASE + 3); // 下发指定ID、指定柜台的商店信息
	public static final int MSGCODE_MMOCHAT_C_19_3 = (MSGCODE_MMOCHAT_19_BASE + 4); // 查看指定ID商店的相邻商店信息
	public static final int MSGCODE_MMOCHAT_C_19_4 = (MSGCODE_MMOCHAT_19_BASE + 6); // 可创建的商店类型列表
	public static final int MSGCODE_MMOCHAT_C_19_5 = (MSGCODE_MMOCHAT_19_BASE + 8); // 创建商店
	public static final int MSGCODE_MMOCHAT_C_19_6 = (MSGCODE_MMOCHAT_19_BASE + 10); // 查看指定页我的商店
	public static final int MSGCODE_MMOCHAT_S_19_6 = (MSGCODE_MMOCHAT_19_BASE + 11); // 下发指定页我的商店信息
	public static final int MSGCODE_MMOCHAT_C_19_7 = (MSGCODE_MMOCHAT_19_BASE + 12); // 商品上架
	public static final int MSGCODE_MMOCHAT_C_19_8 = (MSGCODE_MMOCHAT_19_BASE + 14); // 商品下架
	public static final int MSGCODE_MMOCHAT_C_19_9 = (MSGCODE_MMOCHAT_19_BASE + 16); // 查看玩家商会功能列表
	public static final int MSGCODE_MMOCHAT_C_19_10 = (MSGCODE_MMOCHAT_19_BASE + 18); // 营业或停业
	public static final int MSGCODE_MMOCHAT_C_19_11 = (MSGCODE_MMOCHAT_19_BASE + 20); // 取出资金
	public static final int MSGCODE_MMOCHAT_C_19_12 = (MSGCODE_MMOCHAT_19_BASE + 22); // 投入资金
	public static final int MSGCODE_MMOCHAT_C_19_13 = (MSGCODE_MMOCHAT_19_BASE + 24); // 掌柜公告
	public static final int MSGCODE_MMOCHAT_C_19_14 = (MSGCODE_MMOCHAT_19_BASE + 26); // 修改掌柜公告
	public static final int MSGCODE_MMOCHAT_C_19_15 = (MSGCODE_MMOCHAT_19_BASE + 28); // 增减柜台
	public static final int MSGCODE_MMOCHAT_C_19_16 = (MSGCODE_MMOCHAT_19_BASE + 30); // 增加柜台
	public static final int MSGCODE_MMOCHAT_C_19_17 = (MSGCODE_MMOCHAT_19_BASE + 32); // 删除柜台
	public static final int MSGCODE_MMOCHAT_C_19_18 = (MSGCODE_MMOCHAT_19_BASE + 34); // 出售本店
	public static final int MSGCODE_MMOCHAT_C_19_19 = (MSGCODE_MMOCHAT_19_BASE + 36); // 取消出售本店
	public static final int MSGCODE_MMOCHAT_C_19_20 = (MSGCODE_MMOCHAT_19_BASE + 38); // 查看指定页、指定类型的二手商店列表
	public static final int MSGCODE_MMOCHAT_C_19_21 = (MSGCODE_MMOCHAT_19_BASE + 40); // 购买二手商店
	public static final int MSGCODE_MMOCHAT_C_19_22 = (MSGCODE_MMOCHAT_19_BASE + 42); // 购买玩家商店的物品
	public static final int MSGCODE_MMOCHAT_C_19_23 = (MSGCODE_MMOCHAT_19_BASE + 44); // 查看指页的出售记录
	public static final int MSGCODE_MMOCHAT_C_19_24 = (MSGCODE_MMOCHAT_19_BASE + 46); // 宠物上架
	public static final int MSGCODE_MMOCHAT_C_19_25 = (MSGCODE_MMOCHAT_19_BASE + 48); // 根据ID查找商店
	public static final int MSGCODE_MMOCHAT_C_19_26 = (MSGCODE_MMOCHAT_19_BASE + 50); // 根据指定页、指定物品名字查询商店

	// 客服处理
	public static final int MSGCODE_MMOCHAT_C_20_1 = (MSGCODE_MMOCHAT_20_BASE); // 申请卖号
	public static final int MSGCODE_MMOCHAT_C_20_2 = (MSGCODE_MMOCHAT_20_BASE + 2); // 卖号者上传出售角色ID
	public static final int MSGCODE_MMOCHAT_C_20_3 = (MSGCODE_MMOCHAT_20_BASE + 4);// 卖号者上传钱庄密码
	public static final int MSGCODE_MMOCHAT_C_20_4 = (MSGCODE_MMOCHAT_20_BASE + 6);// 取消交易
	public static final int MSGCODE_MMOCHAT_C_20_5 = (MSGCODE_MMOCHAT_20_BASE + 8);// 输入售价
	public static final int MSGCODE_MMOCHAT_C_20_6 = (MSGCODE_MMOCHAT_20_BASE + 10);// 输入手机号码
	public static final int MSGCODE_MMOCHAT_C_20_7 = (MSGCODE_MMOCHAT_20_BASE + 12);// 上传买家ID
	public static final int MSGCODE_MMOCHAT_C_20_8 = (MSGCODE_MMOCHAT_20_BASE + 14);// 确认买家信息
	public static final int MSGCODE_MMOCHAT_C_20_9 = (MSGCODE_MMOCHAT_20_BASE + 16);// 查看交易订单
	public static final int MSGCODE_MMOCHAT_C_20_10 = (MSGCODE_MMOCHAT_20_BASE + 18);// 申请取消交易
	public static final int MSGCODE_MMOCHAT_C_20_11 = (MSGCODE_MMOCHAT_20_BASE + 20);// 确认取消交易
	public static final int MSGCODE_MMOCHAT_C_20_12 = (MSGCODE_MMOCHAT_20_BASE + 22);// 请求上传充值卡信息
	public static final int MSGCODE_MMOCHAT_C_20_13 = (MSGCODE_MMOCHAT_20_BASE + 24);// 上传充值卡的卡号
	public static final int MSGCODE_MMOCHAT_C_20_14 = (MSGCODE_MMOCHAT_20_BASE + 26);// 上传充值卡的密码
	public static final int MSGCODE_MMOCHAT_C_20_15 = (MSGCODE_MMOCHAT_20_BASE + 28);// 上传完成
	public static final int MSGCODE_MMOCHAT_C_20_16 = (MSGCODE_MMOCHAT_20_BASE + 30);// 查看客服标准问题
	public static final int MSGCODE_MMOCHAT_C_20_17 = (MSGCODE_MMOCHAT_20_BASE + 32);// 由客服标准回答结束玩家提问
	public static final int MSGCODE_MMOCHAT_C_20_18 = (MSGCODE_MMOCHAT_20_BASE + 34);// 关闭客服标准回答面板
	public static final int MSGCODE_MMOCHAT_C_20_19 = (MSGCODE_MMOCHAT_20_BASE + 36);// 预充值功能
	public static final int MSGCODE_MMOCHAT_C_20_20 = (MSGCODE_MMOCHAT_20_BASE + 38); // 上传充值卡
	public static final int MSGCODE_MMOCHAT_C_20_21 = (MSGCODE_MMOCHAT_20_BASE + 40); // 上传充值卡卡号
	public static final int MSGCODE_MMOCHAT_C_20_22 = (MSGCODE_MMOCHAT_20_BASE + 42); // 上传充值卡密码
	public static final int MSGCODE_MMOCHAT_C_20_23 = (MSGCODE_MMOCHAT_20_BASE + 44); // 再次上传充值卡密码
	public static final int MSGCODE_MMOCHAT_C_20_24 = (MSGCODE_MMOCHAT_20_BASE + 46); // 预充值确认
	public static final int MSGCODE_MMOCHAT_C_20_25 = (MSGCODE_MMOCHAT_20_BASE + 48); // 查看我的订单详情

	// 玩家间赌
	public static final int MSGCODE_MMOCHAT_C_21_1 = (MSGCODE_MMOCHAT_21_BASE);// 进入石头游戏
	public static final int MSGCODE_MMOCHAT_C_21_2 = (MSGCODE_MMOCHAT_21_BASE + 2);// 创建比赛
	public static final int MSGCODE_MMOCHAT_C_21_3 = (MSGCODE_MMOCHAT_21_BASE + 4);// 选择比赛金额
	public static final int MSGCODE_MMOCHAT_C_21_4 = (MSGCODE_MMOCHAT_21_BASE + 6);// 选择出什么
	public static final int MSGCODE_MMOCHAT_C_21_5 = (MSGCODE_MMOCHAT_21_BASE + 8);// 查看所有比赛
	public static final int MSGCODE_MMOCHAT_C_21_6 = (MSGCODE_MMOCHAT_21_BASE + 10);// 查看比赛详情
	public static final int MSGCODE_MMOCHAT_C_21_7 = (MSGCODE_MMOCHAT_21_BASE + 12);// 参加比赛
	public static final int MSGCODE_MMOCHAT_C_21_8 = (MSGCODE_MMOCHAT_21_BASE + 14);// 挑战者选择出什么
	public static final int MSGCODE_MMOCHAT_C_21_9 = (MSGCODE_MMOCHAT_21_BASE + 16);// 查看我的比赛
	public static final int MSGCODE_MMOCHAT_C_21_10 = (MSGCODE_MMOCHAT_21_BASE + 18);// 撤消比赛
}
